samba: remove pid at killproc in initscript core152 master
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Nov 2020 17:06:08 +0000 (18:06 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 14 Nov 2020 08:05:34 +0000 (08:05 +0000)
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>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/samba
src/initscripts/packages/samba

index 29dfec2..f57a047 100644 (file)
--- a/lfs/samba
+++ b/lfs/samba
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = samba
-PAK_VER    = 74
+PAK_VER    = 75
 
 DEPS       = avahi cups libtirpc krb5 perl-Parse-Yapp
 
index 2aab399..fbab2da 100644 (file)
@@ -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)