From 9a8de2e023c5d3aad21bbc9b503174fc49f03479 Mon Sep 17 00:00:00 2001 From: David Personette Date: Fri, 20 Mar 2020 15:20:29 -0400 Subject: [PATCH] samba.sh fix #286 --- samba.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samba.sh b/samba.sh index 65144c3..d8fae41 100755 --- a/samba.sh +++ b/samba.sh @@ -105,7 +105,7 @@ share() { local share="$1" path="$2" browsable="${3:-yes}" ro="${4:-yes}" \ echo " browsable = $browsable" >>$file echo " read only = $ro" >>$file echo " guest ok = $guest" >>$file - [[ $VETO == no ]] || { + [[ ${VETO:-yes} == no ]] || { echo -n " veto files = /._*/.apdisk/.AppleDouble/.DS_Store/" >>$file echo -n ".TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/" >>$file echo "Network Trash Folder/Temporary Items/Thumbs.db/" >>$file