samba.sh fix #286

This commit is contained in:
David Personette 2020-03-20 15:20:29 -04:00
parent 631790aa19
commit 9a8de2e023

View File

@ -105,7 +105,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \
echo " browsable = $browsable" >>$file echo " browsable = $browsable" >>$file
echo " read only = $ro" >>$file echo " read only = $ro" >>$file
echo " guest ok = $guest" >>$file echo " guest ok = $guest" >>$file
[[ $VETO == no ]] || { [[ ${VETO:-yes} == no ]] || {
echo -n " veto files = /._*/.apdisk/.AppleDouble/.DS_Store/" >>$file echo -n " veto files = /._*/.apdisk/.AppleDouble/.DS_Store/" >>$file
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