mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 20:25:49 +00:00
Update samba.sh
This commit is contained in:
parent
1f3cb4aff6
commit
7f47f7bce8
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,10 @@ fi
|
||||||
|
|
||||||
share="/shared"
|
share="/shared"
|
||||||
|
|
||||||
|
if [ ! -d "$share" ] && [ -d "$STORAGE/shared" ]; then
|
||||||
|
share="$STORAGE/shared"
|
||||||
|
fi
|
||||||
|
|
||||||
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