Update samba.sh
fixed whitespace
This commit is contained in:
parent
ed0f55b328
commit
621ce3cbe3
2
samba.sh
2
samba.sh
@ -101,7 +101,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
|
|||||||
echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file
|
echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file
|
||||||
echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file
|
echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file
|
||||||
echo " delete veto files = yes" >>$file
|
echo " delete veto files = yes" >>$file
|
||||||
[[ $share == "homes" ]] &&
|
[[ $share == "homes" ]] &&
|
||||||
echo " force user = %S" >>$file &&
|
echo " force user = %S" >>$file &&
|
||||||
echo " force group = %S" >>$file
|
echo " force group = %S" >>$file
|
||||||
[[ ${users:-""} && ! ${users:-""} =~ all ]] &&
|
[[ ${users:-""} && ! ${users:-""} =~ all ]] &&
|
||||||
|
Loading…
Reference in New Issue
Block a user