diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-07 19:30:19 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-07 19:30:19 +0000 |
commit | 58954d492defb8f9e4e47e181bdc726d41707662 (patch) | |
tree | 294a305e5ba838f703e025057a47b0e1ffc59305 /nscd | |
parent | 9f2b2e4c504bf63920d38ec872701eac394ee2ac (diff) | |
download | glibc-58954d492defb8f9e4e47e181bdc726d41707662.tar.gz glibc-58954d492defb8f9e4e47e181bdc726d41707662.tar.xz glibc-58954d492defb8f9e4e47e181bdc726d41707662.zip |
* nscd/nscd.init (reload): Print Reloading nscd: before and a newline
after the status string printed by killproc.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd.init | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nscd/nscd.init b/nscd/nscd.init index d5c1cb9ae3..23e20c3a82 100644 --- a/nscd/nscd.init +++ b/nscd/nscd.init @@ -88,9 +88,9 @@ case "$1" in RETVAL=$? ;; status) - status nscd + status nscd RETVAL=$? - ;; + ;; restart) restart RETVAL=$? @@ -100,9 +100,11 @@ case "$1" in RETVAL=$? ;; reload) - killproc /usr/sbin/nscd -HUP + echo -n $"Reloading $prog: " + killproc /usr/sbin/nscd -HUP RETVAL=$? - ;; + echo + ;; *) echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" RETVAL=1 |