mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 19:55:52 +02:00
samba: remove pid at killproc in initscript
sometime a stale nmbd or smbd process prevent start of samba. this change should kill all processes. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
9c6fd77927
commit
58b374c255
@@ -31,13 +31,13 @@ case "$1" in
|
||||
|
||||
stop)
|
||||
boot_mesg "Stopping smbd..."
|
||||
killproc -p /var/run/smbd.pid /usr/sbin/smbd
|
||||
killproc /usr/sbin/smbd
|
||||
|
||||
boot_mesg "Stopping nmbd..."
|
||||
killproc -p /var/run/nmbd.pid /usr/sbin/nmbd
|
||||
killproc /usr/sbin/nmbd
|
||||
|
||||
boot_mesg "Stopping winbind..."
|
||||
killproc -p /var/run/winbindd.pid /usr/sbin/winbindd
|
||||
killproc /usr/sbin/winbindd
|
||||
;;
|
||||
|
||||
reload)
|
||||
|
||||
Reference in New Issue
Block a user