Home | History | Annotate | Line # | Download | only in update-leap
update-leap.html revision 1.1.1.11
      1  1.1.1.11  christos <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      2  1.1.1.11  christos <html>
      3  1.1.1.11  christos <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
      4       1.1  christos <head>
      5  1.1.1.11  christos <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      6  1.1.1.11  christos <title>update-leap User&rsquo;s Manual</title>
      7  1.1.1.11  christos 
      8  1.1.1.11  christos <meta name="description" content="update-leap User&rsquo;s Manual">
      9  1.1.1.11  christos <meta name="keywords" content="update-leap User&rsquo;s Manual">
     10  1.1.1.11  christos <meta name="resource-type" content="document">
     11  1.1.1.11  christos <meta name="distribution" content="global">
     12  1.1.1.11  christos <meta name="Generator" content="makeinfo">
     13  1.1.1.11  christos <link href="#Top" rel="start" title="Top">
     14  1.1.1.11  christos <link href="dir.html#Top" rel="up" title="(dir)">
     15  1.1.1.11  christos <style type="text/css">
     16  1.1.1.11  christos <!--
     17  1.1.1.11  christos a.summary-letter {text-decoration: none}
     18  1.1.1.11  christos blockquote.indentedblock {margin-right: 0em}
     19  1.1.1.11  christos blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
     20  1.1.1.11  christos blockquote.smallquotation {font-size: smaller}
     21  1.1.1.11  christos div.display {margin-left: 3.2em}
     22  1.1.1.11  christos div.example {margin-left: 3.2em}
     23  1.1.1.11  christos div.lisp {margin-left: 3.2em}
     24  1.1.1.11  christos div.smalldisplay {margin-left: 3.2em}
     25  1.1.1.11  christos div.smallexample {margin-left: 3.2em}
     26  1.1.1.11  christos div.smalllisp {margin-left: 3.2em}
     27  1.1.1.11  christos kbd {font-style: oblique}
     28  1.1.1.11  christos pre.display {font-family: inherit}
     29  1.1.1.11  christos pre.format {font-family: inherit}
     30  1.1.1.11  christos pre.menu-comment {font-family: serif}
     31  1.1.1.11  christos pre.menu-preformatted {font-family: serif}
     32  1.1.1.11  christos pre.smalldisplay {font-family: inherit; font-size: smaller}
     33  1.1.1.11  christos pre.smallexample {font-size: smaller}
     34  1.1.1.11  christos pre.smallformat {font-family: inherit; font-size: smaller}
     35  1.1.1.11  christos pre.smalllisp {font-size: smaller}
     36  1.1.1.11  christos span.nolinebreak {white-space: nowrap}
     37  1.1.1.11  christos span.roman {font-family: initial; font-weight: normal}
     38  1.1.1.11  christos span.sansserif {font-family: sans-serif; font-weight: normal}
     39  1.1.1.11  christos ul.no-bullet {list-style: none}
     40  1.1.1.11  christos -->
     41  1.1.1.11  christos </style>
     42  1.1.1.11  christos 
     43  1.1.1.11  christos 
     44       1.1  christos </head>
     45       1.1  christos 
     46  1.1.1.11  christos <body lang="en">
     47  1.1.1.11  christos <h1 class="settitle" align="center">update-leap User&rsquo;s Manual</h1>
     48  1.1.1.11  christos 
     49       1.1  christos 
     50  1.1.1.11  christos 
     51  1.1.1.11  christos 
     52  1.1.1.11  christos 
     53  1.1.1.11  christos <a name="Top"></a>
     54  1.1.1.11  christos <div class="header">
     55  1.1.1.11  christos <p>
     56  1.1.1.11  christos Previous: <a href="dir.html#Top" accesskey="p" rel="prev">(dir)</a>, Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> &nbsp; </p>
     57  1.1.1.11  christos </div>
     58  1.1.1.11  christos <h1 class="node-heading">Top</h1>
     59  1.1.1.11  christos 
     60  1.1.1.11  christos <p>This document describes the use of the NTP Project&rsquo;s <code>update-leap</code> program.
     61  1.1.1.11  christos </p>
     62  1.1.1.11  christos <p>This document applies to version 4.2.8p14 of <code>update-leap</code>.
     63  1.1.1.11  christos </p>
     64  1.1.1.11  christos <a name="SEC_Overview"></a>
     65  1.1.1.11  christos <h2 class="shortcontents-heading">Short Table of Contents</h2>
     66       1.1  christos 
     67       1.1  christos <div class="shortcontents">
     68  1.1.1.11  christos <li><a name="stoc-Invoking-update_002dleap" href="#toc-Invoking-update_002dleap">1 Invoking update-leap</a></li>
     69  1.1.1.11  christos 
     70       1.1  christos </div>
     71       1.1  christos 
     72       1.1  christos 
     73  1.1.1.11  christos <table class="menu" border="0" cellspacing="0">
     74  1.1.1.11  christos <tr><td align="left" valign="top">&bull; update-leap Description:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Description
     75  1.1.1.11  christos </td></tr>
     76  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-Invocation" accesskey="2">update-leap Invocation</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Invoking update-leap
     77  1.1.1.11  christos </td></tr>
     78  1.1.1.11  christos </table>
     79  1.1.1.11  christos 
     80  1.1.1.11  christos <hr>
     81       1.1  christos <a name="update_002dleap-Invocation"></a>
     82  1.1.1.11  christos <div class="header">
     83  1.1.1.11  christos <p>
     84  1.1.1.11  christos Up: <a href="#Top" accesskey="u" rel="up">Top</a> &nbsp; </p>
     85       1.1  christos </div>
     86  1.1.1.11  christos <a name="Invoking-update_002dleap"></a>
     87  1.1.1.11  christos <h3 class="section">1 Invoking update-leap</h3>
     88  1.1.1.11  christos <a name="index-update_002dleap"></a>
     89  1.1.1.11  christos <a name="index-leap_002dseconds-file-manager_002fupdater"></a>
     90       1.1  christos 
     91       1.1  christos 
     92       1.1  christos 
     93  1.1.1.11  christos <p><code>update-leap</code>
     94       1.1  christos will validate the file currently on the local system
     95       1.1  christos and if necessary, updates leap-second definition file.
     96  1.1.1.11  christos </p>
     97  1.1.1.11  christos <p>Ordinarily, the file is found using the &quot;leapfile&quot; directive in
     98  1.1.1.11  christos <code>ntp.conf(5)</code>.
     99       1.1  christos However, an alternate location can be specified on the command line.
    100  1.1.1.11  christos </p>
    101  1.1.1.11  christos <p>If the file does not exist, is not valid, has expired, or is expiring soon,
    102       1.1  christos a new copy will be downloaded.  If the new copy validates, it is installed and
    103       1.1  christos NTP is (optionally) restarted.
    104  1.1.1.11  christos </p>
    105  1.1.1.11  christos <p>If the current file is acceptable, no download or restart occurs.
    106  1.1.1.11  christos </p>
    107  1.1.1.11  christos <p>-c can also be used to invoke another script to perform administrative
    108  1.1.1.11  christos functions, e.g. to copy the file to other local systems.
    109       1.1  christos .PP
    110       1.1  christos This can be run as a cron job.  As the file is rarely updated, and leap
    111       1.1  christos seconds are announced at least one month in advance (usually longer), it
    112  1.1.1.11  christos need not be run more frequently than about once every three weeks.
    113       1.1  christos .PP
    114  1.1.1.11  christos For cron-friendly behavior, define CRONJOB=1 in the crontab.
    115       1.1  christos .PP
    116       1.1  christos This script depends on$REQUIREDCMDS
    117  1.1.1.11  christos </p>
    118  1.1.1.11  christos <p>This section was generated by <strong>AutoGen</strong>,
    119       1.1  christos using the <code>agtexi-cmd</code> template and the option descriptions for the <code>update-leap</code> program.
    120  1.1.1.11  christos </p>
    121  1.1.1.11  christos <table class="menu" border="0" cellspacing="0">
    122  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-usage" accesskey="1">update-leap usage</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">update-leap help/usage (<samp>--help</samp>)
    123  1.1.1.11  christos </td></tr>
    124  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-source_002durl" accesskey="2">update-leap source-url</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">source-url option (-s)
    125  1.1.1.11  christos </td></tr>
    126  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-ipv4" accesskey="3">update-leap ipv4</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">ipv4 option (-4)
    127  1.1.1.11  christos </td></tr>
    128  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-destination" accesskey="4">update-leap destination</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">destination option (-d)
    129  1.1.1.11  christos </td></tr>
    130  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-expiration" accesskey="5">update-leap expiration</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">expiration option (-e)
    131  1.1.1.11  christos </td></tr>
    132  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-ntp_002dconf_002dfile" accesskey="6">update-leap ntp-conf-file</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">ntp-conf-file option (-f)
    133  1.1.1.11  christos </td></tr>
    134  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-force_002dupdate" accesskey="7">update-leap force-update</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">force-update option (-F)
    135  1.1.1.11  christos </td></tr>
    136  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-exit-status" accesskey="8">update-leap exit status</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">exit status
    137  1.1.1.11  christos </td></tr>
    138  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-Usage" accesskey="9">update-leap Usage</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Usage
    139  1.1.1.11  christos </td></tr>
    140  1.1.1.11  christos <tr><td align="left" valign="top">&bull; <a href="#update_002dleap-Authors">update-leap Authors</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Authors
    141  1.1.1.11  christos </td></tr>
    142  1.1.1.11  christos </table>
    143  1.1.1.11  christos 
    144  1.1.1.11  christos <hr>
    145  1.1.1.11  christos <a name="update_002dleap-usage"></a>
    146  1.1.1.11  christos <div class="header">
    147  1.1.1.11  christos <p>
    148  1.1.1.11  christos Next: <a href="#update_002dleap-source_002durl" accesskey="n" rel="next">update-leap source-url</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    149  1.1.1.11  christos </div>
    150  1.1.1.11  christos <a name="update_002dleap-help_002fusage-_0028_002d_002dhelp_0029"></a>
    151  1.1.1.11  christos <h4 class="subsection">1.1 update-leap help/usage (<samp>--help</samp>)</h4>
    152  1.1.1.11  christos <a name="index-update_002dleap-help"></a>
    153  1.1.1.11  christos 
    154  1.1.1.11  christos <p>This is the automatically generated usage text for update-leap.
    155  1.1.1.11  christos </p>
    156  1.1.1.11  christos <p>The text printed is the same whether selected with the <code>help</code> option
    157  1.1.1.11  christos (<samp>--help</samp>) or the <code>more-help</code> option (<samp>--more-help</samp>).  <code>more-help</code> will print
    158  1.1.1.11  christos the usage text by passing it through a pager program.
    159       1.1  christos <code>more-help</code> is disabled on platforms without a working
    160       1.1  christos <code>fork(2)</code> function.  The <code>PAGER</code> environment variable is
    161  1.1.1.11  christos used to select the program, defaulting to <samp>more</samp>.  Both will exit
    162       1.1  christos with a status code of 0.
    163  1.1.1.11  christos </p>
    164  1.1.1.11  christos <div class="example">
    165   1.1.1.9  christos <pre class="example">
    166  1.1.1.11  christos 
    167  1.1.1.10  christos Usage: update-leap [options]
    168  1.1.1.10  christos 
    169  1.1.1.10  christos Verifies and if necessary, updates leap-second definition file
    170  1.1.1.10  christos 
    171  1.1.1.10  christos All arguments are optional:  Default (or current value) shown:
    172  1.1.1.10  christos     -C    Absolute path to CA Cert (see SSL/TLS Considerations)
    173  1.1.1.10  christos     -D    Path to a CAdir (see SSL/TLS Considerations)
    174  1.1.1.10  christos     -e    Specify how long (in days) before expiration the file is to be
    175  1.1.1.10  christos               refreshed.  Note that larger values imply more frequent refreshes.
    176  1.1.1.10  christos           60
    177  1.1.1.10  christos     -F    Force update even if current file is OK and not close to expiring.
    178  1.1.1.10  christos     -f    Absolute path ntp.conf file (default /etc/ntp.conf)
    179  1.1.1.10  christos           /etc/ntp.conf
    180  1.1.1.10  christos     -h    show help
    181  1.1.1.10  christos     -i    Specify number of minutes between retries
    182  1.1.1.10  christos           10
    183  1.1.1.10  christos     -L    Absolute path to leapfile on the local system
    184  1.1.1.10  christos           (overrides value in ntp.conf)
    185  1.1.1.10  christos     -l    Specify the syslog(3) facility for logging
    186  1.1.1.10  christos           LOG_USER
    187  1.1.1.10  christos     -q    Only report errors (cannot be used with -v)
    188  1.1.1.10  christos     -r    Specify number of attempts to retrieve file
    189  1.1.1.10  christos           6
    190  1.1.1.10  christos     -s    Send output to syslog(3) - implied if STDOUT has no tty or redirected
    191  1.1.1.10  christos     -t    Send output to terminal - implied if STDOUT attached to terminal
    192  1.1.1.10  christos     -u    Specify the URL of the master copy to download
    193  1.1.1.10  christos           https://www.ietf.org/timezones/data/leap-seconds.list
    194  1.1.1.10  christos     -v    Verbose - show debug messages (cannot be used with -q)
    195  1.1.1.10  christos 
    196  1.1.1.10  christos The following options are not (yet) implemented in the perl version:
    197  1.1.1.10  christos     -4    Use only IPv4
    198  1.1.1.10  christos     -6    Use only IPv6
    199  1.1.1.10  christos     -c    Command to restart NTP after installing a new file
    200  1.1.1.10  christos           &lt;none&gt; - ntpd checks file daily
    201  1.1.1.10  christos     -p 4|6
    202  1.1.1.10  christos           Prefer IPv4 or IPv6 (as specified) addresses, but use either
    203  1.1.1.10  christos 
    204  1.1.1.10  christos update-leap will validate the file currently on the local system.
    205  1.1.1.10  christos 
    206  1.1.1.10  christos Ordinarily, the leapfile is found using the 'leapfile' directive in
    207  1.1.1.10  christos /etc/ntp.conf.  However, an alternate location can be specified on the
    208  1.1.1.10  christos command line with the -L flag.
    209  1.1.1.10  christos 
    210  1.1.1.10  christos If the leapfile does not exist, is not valid, has expired, or is
    211  1.1.1.10  christos expiring soon, a new copy will be downloaded.  If the new copy is
    212  1.1.1.10  christos valid, it is installed.
    213  1.1.1.10  christos 
    214  1.1.1.10  christos If the current file is acceptable, no download or restart occurs.
    215  1.1.1.10  christos 
    216  1.1.1.10  christos This can be run as a cron job.  As the file is rarely updated, and
    217  1.1.1.10  christos leap seconds are announced at least one month in advance (usually
    218  1.1.1.10  christos longer), it need not be run more frequently than about once every
    219  1.1.1.10  christos three weeks.
    220  1.1.1.10  christos 
    221  1.1.1.10  christos SSL/TLS Considerations
    222  1.1.1.10  christos -----------------------
    223  1.1.1.10  christos The perl modules can usually locate the CA certificate used to verify
    224  1.1.1.10  christos the peer's identity.
    225  1.1.1.10  christos 
    226  1.1.1.10  christos On BSDs, the default is typically the file /etc/ssl/certs.pem.  On
    227  1.1.1.10  christos Linux, the location is typically a path to a CAdir - a directory of
    228  1.1.1.10  christos symlinks named according to a hash of the certificates' subject names.
    229  1.1.1.10  christos 
    230  1.1.1.10  christos The -C or -D options are available to pass in a location if no CA cert
    231  1.1.1.10  christos is found in the default location.
    232  1.1.1.10  christos 
    233  1.1.1.10  christos External Dependencies
    234  1.1.1.10  christos ---------------------
    235  1.1.1.10  christos The following perl modules are required:
    236  1.1.1.10  christos HTTP::Tiny         - version &gt;= 0.056
    237  1.1.1.10  christos IO::Socket::SSL - version &gt;= 1.56
    238  1.1.1.10  christos NET::SSLeay         - version &gt;= 1.49
    239  1.1.1.10  christos 
    240  1.1.1.10  christos Version: 1.004
    241  1.1.1.11  christos </pre></div>
    242       1.1  christos 
    243  1.1.1.11  christos <hr>
    244  1.1.1.11  christos <a name="update_002dleap-source_002durl"></a>
    245  1.1.1.11  christos <div class="header">
    246  1.1.1.11  christos <p>
    247  1.1.1.11  christos Next: <a href="#update_002dleap-ipv4" accesskey="n" rel="next">update-leap ipv4</a>, Previous: <a href="#update_002dleap-usage" accesskey="p" rel="prev">update-leap usage</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    248  1.1.1.11  christos </div>
    249  1.1.1.11  christos <a name="source_002durl-option-_0028_002ds_0029"></a>
    250  1.1.1.11  christos <h4 class="subsection">1.2 source-url option (-s)</h4>
    251  1.1.1.11  christos <a name="index-update_002dleap_002dsource_002durl"></a>
    252  1.1.1.11  christos 
    253  1.1.1.11  christos <p>This is the &ldquo;the url of the master copy of the leapseconds file&rdquo; option.
    254  1.1.1.11  christos This option takes a string argument.
    255       1.1  christos Specify the URL of the master copy to download
    256       1.1  christos $LEAPSRC
    257  1.1.1.11  christos </p><hr>
    258  1.1.1.11  christos <a name="update_002dleap-ipv4"></a>
    259  1.1.1.11  christos <div class="header">
    260  1.1.1.11  christos <p>
    261  1.1.1.11  christos Next: <a href="#update_002dleap-destination" accesskey="n" rel="next">update-leap destination</a>, Previous: <a href="#update_002dleap-source_002durl" accesskey="p" rel="prev">update-leap source-url</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    262  1.1.1.11  christos </div>
    263  1.1.1.11  christos <a name="ipv4-option-_0028_002d4_0029"></a>
    264  1.1.1.11  christos <h4 class="subsection">1.3 ipv4 option (-4)</h4>
    265  1.1.1.11  christos <a name="index-update_002dleap_002dipv4"></a>
    266  1.1.1.11  christos 
    267  1.1.1.11  christos <p>This is the &ldquo;use only ipv4 addresses for dns name resolution&rdquo; option.
    268  1.1.1.11  christos </p>
    269  1.1.1.11  christos <p>This option has some usage constraints.  It:
    270  1.1.1.11  christos </p><ul>
    271  1.1.1.11  christos <li> must not appear in combination with any of the following options:
    272  1.1.1.11  christos ipv6.
    273  1.1.1.11  christos </li></ul>
    274       1.1  christos 
    275  1.1.1.11  christos <p>Force DNS resolution of following host names on the command line
    276  1.1.1.11  christos         to the IPv4 namespace.
    277       1.1  christos         _EndOfDoc_;
    278       1.1  christos ;
    279  1.1.1.11  christos </p>
    280  1.1.1.11  christos <p>flag = 
    281       1.1  christos     name      = ipv6;
    282       1.1  christos     flags-cant = ipv4, prefer;
    283       1.1  christos     value     = 6;
    284  1.1.1.11  christos     descrip   = &quot;Use only IPv6 addresses for DNS name resolution&quot;;
    285       1.1  christos     doc = &lt;&lt;-  _EndOfDoc_
    286       1.1  christos         Force DNS resolution of following host names on the command line
    287  1.1.1.11  christos         to the IPv6 namespace.
    288       1.1  christos         _EndOfDoc_;
    289       1.1  christos ;
    290  1.1.1.11  christos </p>
    291  1.1.1.11  christos <p>flag = 
    292       1.1  christos     name        = prefer;
    293       1.1  christos     flags-cant	= ipv4, ipv6;
    294       1.1  christos     value	= p;
    295       1.1  christos     arg-type    = keyword;
    296       1.1  christos     keyword	= 4, 6;
    297  1.1.1.11  christos     descrip     = &rsquo;Prefer IPv4 or IPv6 (as specified) addresses, but use either&rsquo;;
    298       1.1  christos     doc         = &lt;&lt;-  _EndOfDoc_
    299  1.1.1.11  christos Prefer IPv4 or IPv6 (as specified) addresses, but use either.
    300  1.1.1.11  christos </p><hr>
    301  1.1.1.11  christos <a name="update_002dleap-destination"></a>
    302  1.1.1.11  christos <div class="header">
    303  1.1.1.11  christos <p>
    304  1.1.1.11  christos Next: <a href="#update_002dleap-expiration" accesskey="n" rel="next">update-leap expiration</a>, Previous: <a href="#update_002dleap-ipv4" accesskey="p" rel="prev">update-leap ipv4</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    305  1.1.1.11  christos </div>
    306  1.1.1.11  christos <a name="destination-option-_0028_002dd_0029"></a>
    307  1.1.1.11  christos <h4 class="subsection">1.4 destination option (-d)</h4>
    308  1.1.1.11  christos <a name="index-update_002dleap_002ddestination"></a>
    309  1.1.1.11  christos 
    310  1.1.1.11  christos <p>This is the &ldquo;filename on the local system&rdquo; option.
    311  1.1.1.11  christos This option takes a string argument <samp>float</samp>.
    312  1.1.1.11  christos The name to use to store the leapfile on the local system.
    313       1.1  christos $LEAPFILE
    314  1.1.1.11  christos </p><hr>
    315  1.1.1.11  christos <a name="update_002dleap-expiration"></a>
    316  1.1.1.11  christos <div class="header">
    317  1.1.1.11  christos <p>
    318  1.1.1.11  christos Next: <a href="#update_002dleap-ntp_002dconf_002dfile" accesskey="n" rel="next">update-leap ntp-conf-file</a>, Previous: <a href="#update_002dleap-destination" accesskey="p" rel="prev">update-leap destination</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    319  1.1.1.11  christos </div>
    320  1.1.1.11  christos <a name="expiration-option-_0028_002de_0029"></a>
    321  1.1.1.11  christos <h4 class="subsection">1.5 expiration option (-e)</h4>
    322  1.1.1.11  christos <a name="index-update_002dleap_002dexpiration"></a>
    323       1.1  christos 
    324  1.1.1.11  christos <p>This is the &ldquo;refresh the leapfile this long before it expires&rdquo; option.
    325  1.1.1.11  christos This option takes a string argument.
    326       1.1  christos Specify how long before expiration the file is to be refreshed
    327  1.1.1.11  christos Units are required, e.g. &quot;-e 60 days&quot;  Note that larger values
    328  1.1.1.11  christos imply more frequent refreshes.
    329  1.1.1.11  christos &quot;$PREFETCH&quot;
    330  1.1.1.11  christos </p><hr>
    331  1.1.1.11  christos <a name="update_002dleap-ntp_002dconf_002dfile"></a>
    332  1.1.1.11  christos <div class="header">
    333  1.1.1.11  christos <p>
    334  1.1.1.11  christos Next: <a href="#update_002dleap-force_002dupdate" accesskey="n" rel="next">update-leap force-update</a>, Previous: <a href="#update_002dleap-expiration" accesskey="p" rel="prev">update-leap expiration</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    335  1.1.1.11  christos </div>
    336  1.1.1.11  christos <a name="ntp_002dconf_002dfile-option-_0028_002df_0029"></a>
    337  1.1.1.11  christos <h4 class="subsection">1.6 ntp-conf-file option (-f)</h4>
    338  1.1.1.11  christos <a name="index-update_002dleap_002dntp_002dconf_002dfile"></a>
    339  1.1.1.11  christos 
    340  1.1.1.11  christos <p>This is the &ldquo;location of the ntp.conf file&rdquo; option.
    341  1.1.1.11  christos This option takes a string argument.
    342       1.1  christos Specify location of ntp.conf (used to make sure leapfile directive is
    343       1.1  christos present and to default  leapfile)
    344       1.1  christos /etc/ntp.conf
    345  1.1.1.11  christos </p><hr>
    346  1.1.1.11  christos <a name="update_002dleap-force_002dupdate"></a>
    347  1.1.1.11  christos <div class="header">
    348  1.1.1.11  christos <p>
    349  1.1.1.11  christos Next: <a href="#update_002dleap-exit-status" accesskey="n" rel="next">update-leap exit status</a>, Previous: <a href="#update_002dleap-ntp_002dconf_002dfile" accesskey="p" rel="prev">update-leap ntp-conf-file</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    350  1.1.1.11  christos </div>
    351  1.1.1.11  christos <a name="force_002dupdate-option-_0028_002dF_0029"></a>
    352  1.1.1.11  christos <h4 class="subsection">1.7 force-update option (-F)</h4>
    353  1.1.1.11  christos <a name="index-update_002dleap_002dforce_002dupdate"></a>
    354  1.1.1.11  christos 
    355  1.1.1.11  christos <p>This is the &ldquo;force update of the leapfile&rdquo; option.
    356  1.1.1.11  christos Force update even if current file is OK and not close to expiring.
    357  1.1.1.11  christos </p><hr>
    358  1.1.1.11  christos <a name="update_002dleap-exit-status"></a>
    359  1.1.1.11  christos <div class="header">
    360  1.1.1.11  christos <p>
    361  1.1.1.11  christos Next: <a href="#update_002dleap-Usage" accesskey="n" rel="next">update-leap Usage</a>, Previous: <a href="#update_002dleap-force_002dupdate" accesskey="p" rel="prev">update-leap force-update</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    362       1.1  christos </div>
    363  1.1.1.11  christos <a name="update_002dleap-exit-status-1"></a>
    364  1.1.1.11  christos <h4 class="subsection">1.8 update-leap exit status</h4>
    365       1.1  christos 
    366       1.1  christos <p>One of the following exit values will be returned:
    367  1.1.1.11  christos </p><dl compact="compact">
    368  1.1.1.11  christos <dt>&lsquo;<samp>0 (EXIT_SUCCESS)</samp>&rsquo;</dt>
    369  1.1.1.11  christos <dd><p>Successful program execution.
    370  1.1.1.11  christos </p></dd>
    371  1.1.1.11  christos <dt>&lsquo;<samp>1 (EXIT_FAILURE)</samp>&rsquo;</dt>
    372  1.1.1.11  christos <dd><p>The operation failed or the command syntax was not valid.
    373  1.1.1.11  christos </p></dd>
    374       1.1  christos </dl>
    375  1.1.1.11  christos <hr>
    376  1.1.1.11  christos <a name="update_002dleap-Usage"></a>
    377  1.1.1.11  christos <div class="header">
    378  1.1.1.11  christos <p>
    379  1.1.1.11  christos Next: <a href="#update_002dleap-Authors" accesskey="n" rel="next">update-leap Authors</a>, Previous: <a href="#update_002dleap-exit-status" accesskey="p" rel="prev">update-leap exit status</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    380  1.1.1.11  christos </div>
    381  1.1.1.11  christos <a name="update_002dleap-Usage-1"></a>
    382  1.1.1.11  christos <h4 class="subsection">1.9 update-leap Usage</h4>
    383  1.1.1.11  christos <hr>
    384  1.1.1.11  christos <a name="update_002dleap-Authors"></a>
    385  1.1.1.11  christos <div class="header">
    386  1.1.1.11  christos <p>
    387  1.1.1.11  christos Previous: <a href="#update_002dleap-Usage" accesskey="p" rel="prev">update-leap Usage</a>, Up: <a href="#update_002dleap-Invocation" accesskey="u" rel="up">update-leap Invocation</a> &nbsp; </p>
    388  1.1.1.11  christos </div>
    389  1.1.1.11  christos <a name="update_002dleap-Authors-1"></a>
    390  1.1.1.11  christos <h4 class="subsection">1.10 update-leap Authors</h4>
    391  1.1.1.11  christos <hr>
    392       1.1  christos 
    393       1.1  christos 
    394       1.1  christos 
    395  1.1.1.11  christos </body>
    396  1.1.1.11  christos </html>
    397