mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +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
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user