[Lunar-commits] CVS: moonbase/net/ypbind-mt/init.d ypbind, 1.1.1.1,
1.2
Auke Kok
sofar at lunar-linux.org
Fri May 7 10:27:49 GMT 2004
Update of /var/cvs/lunar/moonbase/net/ypbind-mt/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv32197
Modified Files:
ypbind
Log Message:
Boot order adjustments: after portmap but way before any real daemons that might need /usr etc....
Index: ypbind
===================================================================
RCS file: /var/cvs/lunar/moonbase/net/ypbind-mt/init.d/ypbind,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- ypbind 21 Aug 2002 00:55:21 -0000 1.1.1.1
+++ ypbind 7 May 2004 10:27:47 -0000 1.2
@@ -1,7 +1,7 @@
#!/bin/sh
#
# description: ypbind
-# chkconfig: 345 80 30
+# chkconfig: 345 16 84
# processname: ypbind
PID_FILE=/var/run/ypbind.pid
@@ -10,16 +10,16 @@
case $1 in
start|restart) echo "$1ing ypbind."
ps -C portmap > /dev/null || /etc/init.d/portmap start
- pkill -f "\/usr\/sbin\/ypbind$" && sleep 1
- pkill -9 -f "\/usr\/sbin\/ypbind$" && sleep 1
+ pkill -f "\/sbin\/ypbind$" && sleep 1
+ pkill -9 -f "\/sbin\/ypbind$" && sleep 1
/bin/nisdomainname $NISDOMAIN
- /usr/sbin/ypbind
+ /sbin/ypbind
;;
stop) echo "$1ping ypbind."
- pkill -f "\/usr\/sbin\/ypbind$" && sleep 1
- pkill -9 -f "\/usr\/sbin\/ypbind$"
+ pkill -f "\/sbin\/ypbind$" && sleep 1
+ pkill -9 -f "\/sbin\/ypbind$"
[ -e "$PID_FILE" ] && rm $PID_FILE
;;
More information about the Lunar-commits
mailing list