samba: ensure new properties are populated on upgrade

This commit is contained in:
MilhouseVH 2017-09-03 19:00:41 +01:00
parent ee2785b63e
commit dd64e9d1da

View File

@ -23,6 +23,11 @@ if [ ! -f /storage/.cache/services/samba.conf ]; then
cp /usr/share/services/samba.conf /storage/.cache/services
fi
# Specify defaults here, in case these new properties not yet added in .cache
SAMBA_WORKGROUP=WORKGROUP
SAMBA_MINPROTOCOL=SMB2
SAMBA_MAXPROTOCOL=SMB3
. /storage/.cache/services/samba.conf
# handle external drives