mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 19:55:49 +00:00
Update samba.sh
This commit is contained in:
parent
237096940a
commit
86117ae3d9
1 changed files with 2 additions and 2 deletions
|
|
@ -14,8 +14,8 @@ if [[ "$DHCP" == [Yy1]* ]]; then
|
|||
interface="$VM_NET_DEV"
|
||||
fi
|
||||
|
||||
share="$STORAGE/shared"
|
||||
[ ! -d "$share" ] && share="/shared"
|
||||
share="/shared"
|
||||
[ ! -d "$share" ] && share="$STORAGE/shared"
|
||||
|
||||
mkdir -p "$share"
|
||||
[ -z "$(ls -A "$share")" ] && chmod 777 "$share"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue