]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2769] cleannup for update-leap
authorHarlan Stenn <stenn@ntp.org>
Sun, 29 Mar 2015 04:10:31 +0000 (04:10 +0000)
committerHarlan Stenn <stenn@ntp.org>
Sun, 29 Mar 2015 04:10:31 +0000 (04:10 +0000)
bk: 55177b378lScqYXOBLNOo8rytaCMkw

NEWS
scripts/update-leap/Makefile.am
scripts/update-leap/update-leap-opts.def

diff --git a/NEWS b/NEWS
index d33f059985e4a0089424c23ddd641c1cfc3094a2..47d67002caff4279d22a6573b34b18813ff66323 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,11 @@
+* New script: update-leap
+The update-leap script will verify and if necessary, update the
+leap-second definition file.
+It requires the following commands in order to work:
+
+       wget logger tr sed shasum
+
+Some may choose to run this from cron.
 ---
 NTP 4.2.8p1 (Harlan Stenn <stenn@ntp.org>, 2015/02/04) 
 
index 10e7b488060fdd2554c72528cd9eae9f534a8f53..163810233b19d346e44689b3ab96d6a0853bf82c 100644 (file)
@@ -28,6 +28,7 @@ endif
 EXTRA_DIST =                           \
        invoke-update-leap.menu         \
        invoke-update-leap.texi         \
+       update-leap                     \
        update-leap-opts.def            \
        update-leap-opts                \
        update-leap.1update-leapman     \
index 2f90d1f91c1cbe88224c7592cd64e2b51a50b1ac..9e73916ba119103cd2b9ffb671ddfe98cc94cbee 100644 (file)
@@ -88,7 +88,7 @@ flag = {
     doc         = <<-  _EndOfDoc_
        Specify location of ntp.conf (used to make sure leapfile directive is
        present and to default  leapfile)
-       $NTPCONF
+       /etc/ntp.conf
        _EndOfDoc_;
 };
 
@@ -117,10 +117,11 @@ doc-section     = {
   ds-format     = 'mdoc';
   ds-text       = <<- _END_PROG_MDOC_DESCRIP
 .Nm
-will validate the file currently on the local syste
+will validate the file currently on the local system
 and if necessary, updates leap-second definition file.
 .Pp
-Ordinarily, the file is found using the "leapfile" directive in $NTPCONF.
+Ordinarily, the file is found using the "leapfile" directive in
+.Xr ntp.conf 5 .
 However, an alternate location can be specified on the command line.
 .Pp
 If the file does not exist, is not valid, has expired, or is expiring soon,