mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #1944 from MilhouseVH/le82_samba_server_fix
samba: ensure new properties are populated on upgrade [backport]
This commit is contained in:
commit
3d52ca3984
@ -23,6 +23,11 @@ if [ ! -f /storage/.cache/services/samba.conf ]; then
|
|||||||
cp /usr/share/services/samba.conf /storage/.cache/services
|
cp /usr/share/services/samba.conf /storage/.cache/services
|
||||||
fi
|
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
|
. /storage/.cache/services/samba.conf
|
||||||
|
|
||||||
# handle external drives
|
# handle external drives
|
||||||
|
Loading…
x
Reference in New Issue
Block a user