]> git.pld-linux.org Git - packages/ntp.git/commitdiff
- update ntp -> ntpdate rename
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 22 Jan 2010 19:01:14 +0000 (19:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntp-client.init -> 1.7

ntp-client.init

index 75746e414209c151732868effc3853a6d030ba68..f269de81c7bcb6c473659b9afc8ea27a5f685da7 100644 (file)
@@ -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 @@ start() {
        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
This page took 0.101268 seconds and 4 git commands to generate.