mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
samba: init: remove pidfiles on start
This commit is contained in:
parent
d242619bb5
commit
ae785ad1ea
@ -84,6 +84,8 @@
|
||||
|
||||
SMB_ARG="--configfile=$SMB_CONF"
|
||||
mkdir -p /var/log/samba
|
||||
rm /var/run/smbd-smb.conf.pid &>/dev/null
|
||||
rm /var/run/nmbd-smb.conf.pid &>/dev/null
|
||||
nmbd --daemon $SMB_ARG > /dev/null 2>&1
|
||||
smbd --daemon $SMB_ARG > /dev/null 2>&1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user