From 505f6b42c9df01bdee836cf71da5dec90ba13138 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 23 Jun 2006 14:39:40 +0000 Subject: r16486: fix RedHat init scripts to rely on OS provided killproc() function (This used to be commit 164cdf69f395236ffef9ecc202543d53b5eda2da) --- packaging/RHEL/setup/smb.init | 4 ++-- packaging/RHEL/setup/winbind.init | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packaging/RHEL/setup') diff --git a/packaging/RHEL/setup/smb.init b/packaging/RHEL/setup/smb.init index 30d7d403dd..af85b2c079 100644 --- a/packaging/RHEL/setup/smb.init +++ b/packaging/RHEL/setup/smb.init @@ -71,14 +71,14 @@ start() { stop() { KIND="SMB" echo -n $"Shutting down $KIND services: " - killproc smbd -TERM + killproc smbd RETVAL=$? [ $RETVAL -eq 0 ] && rm -f /var/run/smbd.pid echo KIND="NMB" if [ x"$ISNETBIOSDISABLED" != x"Yes" ]; then echo -n $"Shutting down $KIND services: " - killproc nmbd -TERM + killproc nmbd RETVAL2=$? [ $RETVAL2 -eq 0 ] && rm -f /var/run/nmbd.pid [ $RETVAL -eq 0 -a $RETVAL2 -eq 0 ] && rm -f /var/lock/subsys/smb diff --git a/packaging/RHEL/setup/winbind.init b/packaging/RHEL/setup/winbind.init index e778e61e9c..a99038f9c7 100644 --- a/packaging/RHEL/setup/winbind.init +++ b/packaging/RHEL/setup/winbind.init @@ -49,7 +49,7 @@ stop() { echo KIND="Winbind" echo -n $"Shutting down $KIND services: " - killproc winbindd -TERM + killproc winbindd RETVAL=$? [ $RETVAL -eq 0 ] && rm -f /var/run/winbindd.pid && rm -f /var/lock/subsys/winbindd echo "" -- cgit