ossp-pkg/rc/rc_test/rc.ntp 1.1 -> 1.2
--- rc.ntp 2002/07/05 11:16:20 1.1
+++ rc.ntp 2003/05/14 19:38:24 1.2
@@ -2,9 +2,9 @@
echo "Run commands NTP starting"
-%start -p 200 -u root
- opServiceEnabled dhcpd || exit 0
- /sw/sbin/dhcpd >/dev/null 2>&1
+%start -p 100 -u root
+ opServiceEnabled ntp || exit 0
+ /sw/sbin/ntp >/dev/null 2>&1
%go
ping -a -c 4 dt1.dev.de.cw.net
@@ -12,8 +12,8 @@
cat $0
%stop -p 200 -u root
- opServiceEnabled dhcpd || exit 0
- kill -TERM `cat /sw/var/dhcpd/dhcpd.pid`
+ opServiceEnabled ntp || exit 0
+ kill -TERM `cat /sw/var/ntp/ntp.pid`
echo "Run commands NTP finishing"
echo
|
|