SOURCES: ypbind.init - add condrestart
glen
glen at pld-linux.org
Mon Aug 27 22:33:46 CEST 2007
Author: glen Date: Mon Aug 27 20:33:46 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add condrestart
---- Files affected:
SOURCES:
ypbind.init (1.22 -> 1.23)
---- Diffs:
================================================================
Index: SOURCES/ypbind.init
diff -u SOURCES/ypbind.init:1.22 SOURCES/ypbind.init:1.23
--- SOURCES/ypbind.init:1.22 Mon Aug 27 22:32:33 2007
+++ SOURCES/ypbind.init Mon Aug 27 22:33:40 2007
@@ -109,8 +109,15 @@
stop
start
;;
+ condrestart)
+ # NB! don't remove: dhcpcd calls this
+ if [ -f /var/lock/subsys/ypbind ]; then
+ stop
+ start
+ fi
+ ;;
*)
- msg_usage "$0 {start|stop|restart|force-reload|status}"
+ msg_usage "$0 {start|stop|restart|force-reload|condrestart|status}"
exit 3
esac
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ypbind.init?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list