samba: don't restart smbd in samba-autoshare

This commit is contained in:
escalade 2017-08-22 15:29:52 +00:00
parent 077ed6ec7e
commit a1a60e9d48

View File

@ -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