diff options
Diffstat (limited to 'packaging/RHEL/setup/smb.init')
-rw-r--r-- | packaging/RHEL/setup/smb.init | 4 |
1 files changed, 2 insertions, 2 deletions
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 |