From 5b5c4a11b0d8450d17a2c906db1cb7d4482ed234 Mon Sep 17 00:00:00 2001 From: kloczek Date: Sat, 27 Nov 1999 00:18:42 +0000 Subject: [PATCH] - added reload. Changed files: smb.init -> 1.3 --- smb.init | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/smb.init b/smb.init index 5236566..05f496d 100644 --- a/smb.init +++ b/smb.init @@ -34,9 +34,9 @@ case "$1" in touch /var/lock/subsys/smb ;; stop) - show Shutting down smbd + show Stopping smbd killproc smbd - show Shutting down nmbd + show Stopping nmbd killproc nmbd rm -f /var/lock/subsys/smb ;; @@ -49,8 +49,12 @@ case "$1" in $0 stop $0 start ;; + reload) + Show Reloading smb.conf file + killproc smbd -HUP + ;; *) - echo "Usage: $0 {start|stop|restart|status}" + echo "Usage: $0 {start|stop|restart|reload|status}" exit 1 esac -- 2.44.0