Merge pull request #1944 from MilhouseVH/le82_samba_server_fix

samba: ensure new properties are populated on upgrade [backport]
This commit is contained in:
Christian Hewitt 2017-09-05 14:56:40 +04:00 committed by GitHub
commit 3d52ca3984

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