aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-07 19:30:19 +0000
committerRoland McGrath <roland@gnu.org>2005-02-07 19:30:19 +0000
commit58954d492defb8f9e4e47e181bdc726d41707662 (patch)
tree294a305e5ba838f703e025057a47b0e1ffc59305 /nscd
parent9f2b2e4c504bf63920d38ec872701eac394ee2ac (diff)
downloadglibc-58954d492defb8f9e4e47e181bdc726d41707662.zip
glibc-58954d492defb8f9e4e47e181bdc726d41707662.tar.gz
glibc-58954d492defb8f9e4e47e181bdc726d41707662.tar.bz2
* 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.init10
1 files changed, 6 insertions, 4 deletions
diff --git a/nscd/nscd.init b/nscd/nscd.init
index d5c1cb9..23e20c3 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