[packages/gnscd] gnscd supports only -g (stats) and -d (debug) options
glen
glen at pld-linux.org
Tue Sep 4 21:50:13 CEST 2012
commit 10db2a1e7b009a72bc5bfe7b54dca26387c1f91f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Sep 4 22:46:53 2012 +0300
gnscd supports only -g (stats) and -d (debug) options
nscd.init | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/nscd.init b/nscd.init
index 4aa4925..816ba8c 100755
--- a/nscd.init
+++ b/nscd.init
@@ -78,22 +78,12 @@ case "$1" in
force-reload)
condrestart 7
;;
- reload)
- if is_service_up nscd; then
- for db in passwd group hosts; do
- show "Invalidating %s cache" $db; busy
- nscd -i $db >/dev/null && ok || fail
- done
- else
- msg_not_running "Name Switch Cache Daemon"
- fi
- ;;
status)
status nscd
exit $?
;;
*)
- msg_usage "$0 {start|stop|restart|try-restart|reload|force-reload|status}"
+ msg_usage "$0 {start|stop|restart|try-restart|force-reload|status}"
exit 3
esac
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gnscd.git/commitdiff/34046ba66fcd9a70095406b47c84f7a933e63d69
More information about the pld-cvs-commit
mailing list