samba.sh fix #286
This commit is contained in:
parent
631790aa19
commit
9a8de2e023
2
samba.sh
2
samba.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user