Commit 67a9c19e authored by Eric S. Raymond's avatar Eric S. Raymond

Change name of update-leap and promote it to an installable.

parent 7777ce55
......@@ -95,7 +95,7 @@ they are salvageable.
scripts/summary.txt
scripts/ntpsweep/ntpsweep.txt
scripts/plot_summary.txt
scripts/update-leap/update-leap.txt
scripts/ntpleapfetch/ntpleapfetch.txt
* The format and organization of the NEWS file needs a rethink.
......
......@@ -84,15 +84,15 @@ few will be user-visible:
* A number of obsolete refclocks have been removed.
* The sntp program has been renamed {ntpdig} in order to make
* The +sntp+ program has been renamed +{ntpdig}+ in order to make
NTP installables have a uniform name prefix and take up less
namespace. Also, +ntp-keygen+ is now {ntpkeygen} and +ntp-wait+
is {ntpwait}.
namespace. Also, +ntp-keygen+ is now +{ntpkeygen}+, +ntp-wait+
is {ntpwait}, and +update-leap+ is now +ntpleapfetch+.
* A new utility, {ntpfrob}, collects several small diagnostic functions
for reading and tweaking the local clock hardware, including reading
the clock tick rate, precision, and jitter. Part of it was formerly
trsveled as +tickadj+.
the clock tick rate, precision, and jitter. Part of it formerly
traveled as +tickadj+.
* The deprecated ntpdate program has been replaced with a shell
wrapper around {ntpdig}.
......
# EDIT THIS FILE WITH CAUTION (update-leap-opts)
# EDIT THIS FILE WITH CAUTION (ntpleapfetch-opts)
#
# It has been AutoGen-ed June 3, 2015 at 11:53:37 AM by AutoGen 5.18.5
# From the definitions update-leap-opts.def
# From the definitions ntpleapfetch-opts.def
# and the template file perlopt
use Getopt::Long qw(GetOptionsFromArray);
......@@ -46,8 +46,8 @@ sub processOptions {
'help|?', 'more-help'));
$usage = <<'USAGE';
update-leap - leap-seconds file manager/updater.
USAGE: update-leap [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
ntpleapfetch - leap-seconds file manager/updater.
USAGE: ntpleapfetch [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
-s, --source-url=str The URL of the master copy of the leapseconds file
-4, --ipv4 Use only IPv4 addresses for DNS name resolution
......
......@@ -62,7 +62,7 @@ my $LOGFAC="daemon";
# ###########################################
=item update-leap
=item ntpleapfetch
Usage: $0 [options] [leapfile]
......
== update-leap(1) ==
== ntpleapfetch(1) ==
:doctype: manpage
== NAME ==
update-leap - leap-seconds file manager/updater
ntpleapfetch - leap-seconds file manager/updater
== SYNOPSIS ==
update-leap [-flags | -flag 'value' | --option-name='value']
ntpleapfetch [-flags | -flag 'value' | --option-name='value']
== DESCRIPTION ==
`update-leap` will validate the file currently on the local system and
`ntpleapfetch` will validate the file currently on the local system and
if necessary, updates leap-second definition file.
Ordinarily, the file is found using the "leapfile" directive in
......
......@@ -11,6 +11,9 @@ lib:: NTP interface package required to query Mode 6 packets
monitoring:: Directory containing perl scripts useful for monitoring
operations
ntpleapfetch:: Script to update the leap-second from the NIST leapsecond file.
Meant to be run from a cron job.
ntpwait:: Blocks until ntpd is in state 4 (synchronized).
Useful at boot time, to delay the boot sequence
until after "ntpd -g" has set the time.
......@@ -39,7 +42,4 @@ summary:: Generate summary files out of stat files produced by NTP
t:: Tests for the scripts.
update-leap:: Script to update the leap-second from the NIST leapsecond file.
Meant to be run from a cron job.
// end
......@@ -111,7 +111,7 @@ def build(ctx):
"scripts/ntpwait/ntpwait.in",
"scripts/ntpsweep/ntpsweep.in",
"scripts/ntptrace/ntptrace.in",
"scripts/update-leap/update-leap.in"
"ntpleapfetch/ntpleapfetch.in"
]
ctx(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment