mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
Merge pull request #1919 from escalade/sambafix
samba: don't restart smbd in samba-autoshare
This commit is contained in:
commit
837cbfa74a
@ -21,6 +21,8 @@ if [ -f /storage/.cache/services/samba.conf ]; then
|
|||||||
. /storage/.cache/services/samba.conf
|
. /storage/.cache/services/samba.conf
|
||||||
|
|
||||||
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
|
if [ "$SAMBA_AUTOSHARE" == "true" ] ; then
|
||||||
systemctl restart smbd.service
|
/usr/lib/samba/samba-config
|
||||||
|
/usr/lib/samba/smbd-config
|
||||||
|
[ -f /run/samba/smbd.pid ] && pkill -HUP smbd
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user