samba: fix synonyms in a custom config

This commit is contained in:
MilhouseVH 2018-01-11 20:51:41 +00:00 committed by chewitt
parent 00ba45170f
commit 5332b5dd90

View File

@ -30,6 +30,9 @@ SAMBA_MAXPROTOCOL=SMB3
. /storage/.cache/services/samba.conf
# fixup synonyms
sed -i 's/browsable/browseable/g; s/writable/writeable/g' $SMB_CONF
# handle external drives
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
for dir in /media/* ; do