mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 12:15:50 +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"
|
interface="$VM_NET_DEV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
share="$STORAGE/shared"
|
share="/shared"
|
||||||
[ ! -d "$share" ] && share="/shared"
|
[ ! -d "$share" ] && share="$STORAGE/shared"
|
||||||
|
|
||||||
mkdir -p "$share"
|
mkdir -p "$share"
|
||||||
[ -z "$(ls -A "$share")" ] && chmod 777 "$share"
|
[ -z "$(ls -A "$share")" ] && chmod 777 "$share"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue