samba.sh fix #261
This commit is contained in:
parent
d1a453d812
commit
64db87725f
2
samba.sh
2
samba.sh
@ -109,7 +109,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
|
||||
echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file
|
||||
echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file
|
||||
echo " delete veto files = yes" >>$file
|
||||
[[ ${users:-""} && ! ${users:-""} =~ all ]] &&
|
||||
[[ ${users:-""} && ! ${users:-""} == all ]] &&
|
||||
echo " valid users = $(tr ',' ' ' <<< $users)" >>$file
|
||||
[[ ${admins:-""} && ! ${admins:-""} =~ none ]] &&
|
||||
echo " admin users = $(tr ',' ' ' <<< $admins)" >>$file
|
||||
|
Loading…
Reference in New Issue
Block a user