packages: ntp/ntp-client.init - update ntp -> ntpdate rename
glen
glen at pld-linux.org
Fri Jan 22 20:01:19 CET 2010
Author: glen Date: Fri Jan 22 19:01:19 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- update ntp -> ntpdate rename
---- Files affected:
packages/ntp:
ntp-client.init (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/ntp/ntp-client.init
diff -u packages/ntp/ntp-client.init:1.6 packages/ntp/ntp-client.init:1.7
--- packages/ntp/ntp-client.init:1.6 Mon Oct 2 22:19:26 2006
+++ packages/ntp/ntp-client.init Fri Jan 22 20:01:14 2010
@@ -1,9 +1,9 @@
#!/bin/sh
#
-# ntp This shell script synchronizes time with ntpdate (NTP client)
+# ntpdate This shell script synchronizes time with ntpdate (NTP client)
#
# chkconfig: 2345 55 10
-# description: ntp is the NTP client.
+# description: ntpdate is the NTP client.
# Source function library.
. /etc/rc.d/init.d/functions
@@ -12,7 +12,7 @@
. /etc/sysconfig/network
# Source ntp configuration
-. /etc/sysconfig/ntp
+. /etc/sysconfig/ntpdate
# Check that networking is up.
if is_yes "${NETWORKING}"; then
@@ -28,11 +28,11 @@
show "Syncing time with ntpdate (backgrounding)"
daemon --fork /usr/sbin/ntpdate -s $NTPDATE_OPTIONS $NTPDATE_SERVERS
RETVAL=$?
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ntp
+ [ $RETVAL -eq 0 ] && touch /var/lock/subsys/ntpdate
}
stop() {
- rm -f /var/lock/subsys/ntp
+ rm -f /var/lock/subsys/ntpdate
}
RETVAL=0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ntp/ntp-client.init?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list