1052d159aSCy Schubert<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2052d159aSCy Schubert<html> 3a466cc55SCy Schubert<!-- Created by GNU Texinfo 6.6, http://www.gnu.org/software/texinfo/ --> 4a25439b6SCy Schubert<head> 5052d159aSCy Schubert<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 6052d159aSCy Schubert<title>update-leap User’s Manual</title> 7052d159aSCy Schubert 8052d159aSCy Schubert<meta name="description" content="update-leap User’s Manual"> 9052d159aSCy Schubert<meta name="keywords" content="update-leap User’s Manual"> 10052d159aSCy Schubert<meta name="resource-type" content="document"> 11052d159aSCy Schubert<meta name="distribution" content="global"> 12052d159aSCy Schubert<meta name="Generator" content="makeinfo"> 13052d159aSCy Schubert<link href="#Top" rel="start" title="Top"> 14052d159aSCy Schubert<link href="dir.html#Top" rel="up" title="(dir)"> 15052d159aSCy Schubert<style type="text/css"> 16052d159aSCy Schubert<!-- 17052d159aSCy Schuberta.summary-letter {text-decoration: none} 18052d159aSCy Schubertblockquote.indentedblock {margin-right: 0em} 19052d159aSCy Schubertdiv.display {margin-left: 3.2em} 20052d159aSCy Schubertdiv.example {margin-left: 3.2em} 21052d159aSCy Schubertdiv.lisp {margin-left: 3.2em} 22052d159aSCy Schubertkbd {font-style: oblique} 23a25439b6SCy Schubertpre.display {font-family: inherit} 24a25439b6SCy Schubertpre.format {font-family: inherit} 25052d159aSCy Schubertpre.menu-comment {font-family: serif} 26052d159aSCy Schubertpre.menu-preformatted {font-family: serif} 27052d159aSCy Schubertspan.nolinebreak {white-space: nowrap} 28052d159aSCy Schubertspan.roman {font-family: initial; font-weight: normal} 29052d159aSCy Schubertspan.sansserif {font-family: sans-serif; font-weight: normal} 30052d159aSCy Schubertul.no-bullet {list-style: none} 31052d159aSCy Schubert--> 32052d159aSCy Schubert</style> 33052d159aSCy Schubert 34052d159aSCy Schubert 35a25439b6SCy Schubert</head> 36052d159aSCy Schubert 37052d159aSCy Schubert<body lang="en"> 38052d159aSCy Schubert<h1 class="settitle" align="center">update-leap User’s Manual</h1> 39052d159aSCy Schubert 40052d159aSCy Schubert 41052d159aSCy Schubert 42052d159aSCy Schubert 43052d159aSCy Schubert 44a466cc55SCy Schubert<span id="Top"></span><div class="header"> 45052d159aSCy Schubert<p> 46052d159aSCy SchubertPrevious: <a href="dir.html#Top" accesskey="p" rel="prev">(dir)</a>, Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> </p> 47a25439b6SCy Schubert</div> 48052d159aSCy Schubert<h1 class="node-heading">Top</h1> 49a25439b6SCy Schubert 50052d159aSCy Schubert<p>This document describes the use of the NTP Project’s <code>update-leap</code> program. 51052d159aSCy Schubert</p> 52*f5f40dd6SCy Schubert<p>This document applies to version 4.2.8p18 of <code>update-leap</code>. 53052d159aSCy Schubert</p> 54a466cc55SCy Schubert<span id="SEC_Overview"></span> 55052d159aSCy Schubert<h2 class="shortcontents-heading">Short Table of Contents</h2> 56a25439b6SCy Schubert 57a25439b6SCy Schubert<div class="shortcontents"> 58a466cc55SCy Schubert<li><a id="stoc-Invoking-update_002dleap" href="#toc-Invoking-update_002dleap">1 Invoking update-leap</a></li> 59052d159aSCy Schubert 60a25439b6SCy Schubert</div> 61a25439b6SCy Schubert 62a25439b6SCy Schubert 63052d159aSCy Schubert<table class="menu" border="0" cellspacing="0"> 64a466cc55SCy Schubert<tr><td align="left" valign="top">• update-leap Description</td><td> </td><td align="left" valign="top">Description 65052d159aSCy Schubert</td></tr> 66a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-Invocation" accesskey="2">update-leap Invocation</a></td><td> </td><td align="left" valign="top">Invoking update-leap 67052d159aSCy Schubert</td></tr> 68052d159aSCy Schubert</table> 69052d159aSCy Schubert 70052d159aSCy Schubert<hr> 71a466cc55SCy Schubert<span id="update_002dleap-Invocation"></span><div class="header"> 72052d159aSCy Schubert<p> 73052d159aSCy SchubertUp: <a href="#Top" accesskey="u" rel="up">Top</a> </p> 74a25439b6SCy Schubert</div> 75a466cc55SCy Schubert<span id="Invoking-update_002dleap"></span><h3 class="section">1 Invoking update-leap</h3> 76a466cc55SCy Schubert<span id="index-update_002dleap"></span> 77a466cc55SCy Schubert<span id="index-leap_002dseconds-file-manager_002fupdater"></span> 78a25439b6SCy Schubert 79a25439b6SCy Schubert 80a25439b6SCy Schubert 81a25439b6SCy Schubert<p><code>update-leap</code> 82a25439b6SCy Schubertwill validate the file currently on the local system 83a25439b6SCy Schubertand if necessary, updates leap-second definition file. 84052d159aSCy Schubert</p> 85052d159aSCy Schubert<p>Ordinarily, the file is found using the "leapfile" directive in 86a25439b6SCy Schubert<code>ntp.conf(5)</code>. 87a25439b6SCy SchubertHowever, an alternate location can be specified on the command line. 88052d159aSCy Schubert</p> 89a25439b6SCy Schubert<p>If the file does not exist, is not valid, has expired, or is expiring soon, 90a25439b6SCy Schuberta new copy will be downloaded. If the new copy validates, it is installed and 91a25439b6SCy SchubertNTP is (optionally) restarted. 92052d159aSCy Schubert</p> 93a25439b6SCy Schubert<p>If the current file is acceptable, no download or restart occurs. 94052d159aSCy Schubert</p> 95a25439b6SCy Schubert<p>-c can also be used to invoke another script to perform administrative 96a25439b6SCy Schubertfunctions, e.g. to copy the file to other local systems. 97a25439b6SCy Schubert.PP 98a25439b6SCy SchubertThis can be run as a cron job. As the file is rarely updated, and leap 99a25439b6SCy Schubertseconds are announced at least one month in advance (usually longer), it 100a25439b6SCy Schubertneed not be run more frequently than about once every three weeks. 101a25439b6SCy Schubert.PP 102a25439b6SCy SchubertFor cron-friendly behavior, define CRONJOB=1 in the crontab. 103a25439b6SCy Schubert.PP 104a25439b6SCy SchubertThis script depends on$REQUIREDCMDS 105052d159aSCy Schubert</p> 106a25439b6SCy Schubert<p>This section was generated by <strong>AutoGen</strong>, 107a25439b6SCy Schubertusing the <code>agtexi-cmd</code> template and the option descriptions for the <code>update-leap</code> program. 108052d159aSCy Schubert</p> 109052d159aSCy Schubert<table class="menu" border="0" cellspacing="0"> 110a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-usage" accesskey="1">update-leap usage</a></td><td> </td><td align="left" valign="top">update-leap help/usage (<samp>--help</samp>) 111052d159aSCy Schubert</td></tr> 112a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-source_002durl" accesskey="2">update-leap source-url</a></td><td> </td><td align="left" valign="top">source-url option (-s) 113052d159aSCy Schubert</td></tr> 114a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-ipv4" accesskey="3">update-leap ipv4</a></td><td> </td><td align="left" valign="top">ipv4 option (-4) 115052d159aSCy Schubert</td></tr> 116a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-destination" accesskey="4">update-leap destination</a></td><td> </td><td align="left" valign="top">destination option (-d) 117052d159aSCy Schubert</td></tr> 118a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-expiration" accesskey="5">update-leap expiration</a></td><td> </td><td align="left" valign="top">expiration option (-e) 119052d159aSCy Schubert</td></tr> 120a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-ntp_002dconf_002dfile" accesskey="6">update-leap ntp-conf-file</a></td><td> </td><td align="left" valign="top">ntp-conf-file option (-f) 121052d159aSCy Schubert</td></tr> 122a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-force_002dupdate" accesskey="7">update-leap force-update</a></td><td> </td><td align="left" valign="top">force-update option (-F) 123052d159aSCy Schubert</td></tr> 124a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-exit-status" accesskey="8">update-leap exit status</a></td><td> </td><td align="left" valign="top">exit status 125052d159aSCy Schubert</td></tr> 126a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-Usage" accesskey="9">update-leap Usage</a></td><td> </td><td align="left" valign="top">Usage 127052d159aSCy Schubert</td></tr> 128a466cc55SCy Schubert<tr><td align="left" valign="top">• <a href="#update_002dleap-Authors">update-leap Authors</a></td><td> </td><td align="left" valign="top">Authors 129052d159aSCy Schubert</td></tr> 130052d159aSCy Schubert</table> 131a25439b6SCy Schubert 132052d159aSCy Schubert<hr> 133a466cc55SCy Schubert<span id="update_002dleap-usage"></span><div class="header"> 134052d159aSCy Schubert<p> 135052d159aSCy SchubertNext: <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> </p> 136a25439b6SCy Schubert</div> 137a466cc55SCy Schubert<span id="update_002dleap-help_002fusage-_0028_002d_002dhelp_0029"></span><h4 class="subsection">1.1 update-leap help/usage (<samp>--help</samp>)</h4> 138a466cc55SCy Schubert<span id="index-update_002dleap-help"></span> 139a25439b6SCy Schubert 140052d159aSCy Schubert<p>This is the automatically generated usage text for update-leap. 141052d159aSCy Schubert</p> 142a25439b6SCy Schubert<p>The text printed is the same whether selected with the <code>help</code> option 143052d159aSCy Schubert(<samp>--help</samp>) or the <code>more-help</code> option (<samp>--more-help</samp>). <code>more-help</code> will print 144a25439b6SCy Schubertthe usage text by passing it through a pager program. 145a25439b6SCy Schubert<code>more-help</code> is disabled on platforms without a working 146a25439b6SCy Schubert<code>fork(2)</code> function. The <code>PAGER</code> environment variable is 147052d159aSCy Schubertused to select the program, defaulting to <samp>more</samp>. Both will exit 148a25439b6SCy Schubertwith a status code of 0. 149052d159aSCy Schubert</p> 150052d159aSCy Schubert<div class="example"> 15109100258SXin LI<pre class="example"> 152052d159aSCy Schubert 1534e1ef62aSXin LIUsage: update-leap [options] 1544e1ef62aSXin LI 1554e1ef62aSXin LIVerifies and if necessary, updates leap-second definition file 1564e1ef62aSXin LI 1574e1ef62aSXin LIAll arguments are optional: Default (or current value) shown: 1584e1ef62aSXin LI -C Absolute path to CA Cert (see SSL/TLS Considerations) 1594e1ef62aSXin LI -D Path to a CAdir (see SSL/TLS Considerations) 1604e1ef62aSXin LI -e Specify how long (in days) before expiration the file is to be 1614e1ef62aSXin LI refreshed. Note that larger values imply more frequent refreshes. 1624e1ef62aSXin LI 60 1634e1ef62aSXin LI -F Force update even if current file is OK and not close to expiring. 1644e1ef62aSXin LI -f Absolute path ntp.conf file (default /etc/ntp.conf) 1654e1ef62aSXin LI /etc/ntp.conf 1664e1ef62aSXin LI -h show help 1674e1ef62aSXin LI -i Specify number of minutes between retries 1684e1ef62aSXin LI 10 1694e1ef62aSXin LI -L Absolute path to leapfile on the local system 1704e1ef62aSXin LI (overrides value in ntp.conf) 1714e1ef62aSXin LI -l Specify the syslog(3) facility for logging 1724e1ef62aSXin LI LOG_USER 1734e1ef62aSXin LI -q Only report errors (cannot be used with -v) 1744e1ef62aSXin LI -r Specify number of attempts to retrieve file 1754e1ef62aSXin LI 6 1764e1ef62aSXin LI -s Send output to syslog(3) - implied if STDOUT has no tty or redirected 1774e1ef62aSXin LI -t Send output to terminal - implied if STDOUT attached to terminal 1784e1ef62aSXin LI -u Specify the URL of the master copy to download 1794e1ef62aSXin LI https://www.ietf.org/timezones/data/leap-seconds.list 1804e1ef62aSXin LI -v Verbose - show debug messages (cannot be used with -q) 1814e1ef62aSXin LI 1824e1ef62aSXin LIThe following options are not (yet) implemented in the perl version: 1834e1ef62aSXin LI -4 Use only IPv4 1844e1ef62aSXin LI -6 Use only IPv6 1854e1ef62aSXin LI -c Command to restart NTP after installing a new file 1864e1ef62aSXin LI <none> - ntpd checks file daily 1874e1ef62aSXin LI -p 4|6 1884e1ef62aSXin LI Prefer IPv4 or IPv6 (as specified) addresses, but use either 1894e1ef62aSXin LI 1904e1ef62aSXin LIupdate-leap will validate the file currently on the local system. 1914e1ef62aSXin LI 1924e1ef62aSXin LIOrdinarily, the leapfile is found using the 'leapfile' directive in 1934e1ef62aSXin LI/etc/ntp.conf. However, an alternate location can be specified on the 1944e1ef62aSXin LIcommand line with the -L flag. 1954e1ef62aSXin LI 1964e1ef62aSXin LIIf the leapfile does not exist, is not valid, has expired, or is 1974e1ef62aSXin LIexpiring soon, a new copy will be downloaded. If the new copy is 1984e1ef62aSXin LIvalid, it is installed. 1994e1ef62aSXin LI 2004e1ef62aSXin LIIf the current file is acceptable, no download or restart occurs. 2014e1ef62aSXin LI 2024e1ef62aSXin LIThis can be run as a cron job. As the file is rarely updated, and 2034e1ef62aSXin LIleap seconds are announced at least one month in advance (usually 2044e1ef62aSXin LIlonger), it need not be run more frequently than about once every 2054e1ef62aSXin LIthree weeks. 2064e1ef62aSXin LI 2074e1ef62aSXin LISSL/TLS Considerations 2084e1ef62aSXin LI----------------------- 2094e1ef62aSXin LIThe perl modules can usually locate the CA certificate used to verify 2104e1ef62aSXin LIthe peer's identity. 2114e1ef62aSXin LI 2124e1ef62aSXin LIOn BSDs, the default is typically the file /etc/ssl/certs.pem. On 2134e1ef62aSXin LILinux, the location is typically a path to a CAdir - a directory of 2144e1ef62aSXin LIsymlinks named according to a hash of the certificates' subject names. 2154e1ef62aSXin LI 2164e1ef62aSXin LIThe -C or -D options are available to pass in a location if no CA cert 2174e1ef62aSXin LIis found in the default location. 2184e1ef62aSXin LI 2194e1ef62aSXin LIExternal Dependencies 2204e1ef62aSXin LI--------------------- 2214e1ef62aSXin LIThe following perl modules are required: 2224e1ef62aSXin LIHTTP::Tiny - version >= 0.056 2234e1ef62aSXin LIIO::Socket::SSL - version >= 1.56 2244e1ef62aSXin LINET::SSLeay - version >= 1.49 2254e1ef62aSXin LI 2264e1ef62aSXin LIVersion: 1.004 227052d159aSCy Schubert</pre></div> 228052d159aSCy Schubert 229052d159aSCy Schubert<hr> 230a466cc55SCy Schubert<span id="update_002dleap-source_002durl"></span><div class="header"> 231052d159aSCy Schubert<p> 232052d159aSCy SchubertNext: <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> </p> 233a25439b6SCy Schubert</div> 234a466cc55SCy Schubert<span id="source_002durl-option-_0028_002ds_0029"></span><h4 class="subsection">1.2 source-url option (-s)</h4> 235a466cc55SCy Schubert<span id="index-update_002dleap_002dsource_002durl"></span> 236a25439b6SCy Schubert 237052d159aSCy Schubert<p>This is the “the url of the master copy of the leapseconds file” option. 238a25439b6SCy SchubertThis option takes a string argument. 239a25439b6SCy SchubertSpecify the URL of the master copy to download 240a25439b6SCy Schubert$LEAPSRC 241052d159aSCy Schubert</p><hr> 242a466cc55SCy Schubert<span id="update_002dleap-ipv4"></span><div class="header"> 243052d159aSCy Schubert<p> 244052d159aSCy SchubertNext: <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> </p> 245a25439b6SCy Schubert</div> 246a466cc55SCy Schubert<span id="ipv4-option-_0028_002d4_0029"></span><h4 class="subsection">1.3 ipv4 option (-4)</h4> 247a466cc55SCy Schubert<span id="index-update_002dleap_002dipv4"></span> 248a25439b6SCy Schubert 249052d159aSCy Schubert<p>This is the “use only ipv4 addresses for dns name resolution” option. 250052d159aSCy Schubert</p> 251052d159aSCy Schubert<p>This option has some usage constraints. It: 252052d159aSCy Schubert</p><ul> 253a25439b6SCy Schubert<li> must not appear in combination with any of the following options: 254a25439b6SCy Schubertipv6. 255052d159aSCy Schubert</li></ul> 256a25439b6SCy Schubert 257a25439b6SCy Schubert<p>Force DNS resolution of following host names on the command line 258a25439b6SCy Schubert to the IPv4 namespace. 259a25439b6SCy Schubert _EndOfDoc_; 260a25439b6SCy Schubert; 261052d159aSCy Schubert</p> 262a25439b6SCy Schubert<p>flag = 263a25439b6SCy Schubert name = ipv6; 264a25439b6SCy Schubert flags-cant = ipv4, prefer; 265a25439b6SCy Schubert value = 6; 266052d159aSCy Schubert descrip = "Use only IPv6 addresses for DNS name resolution"; 267a25439b6SCy Schubert doc = <<- _EndOfDoc_ 268a25439b6SCy Schubert Force DNS resolution of following host names on the command line 269a25439b6SCy Schubert to the IPv6 namespace. 270a25439b6SCy Schubert _EndOfDoc_; 271a25439b6SCy Schubert; 272052d159aSCy Schubert</p> 273a25439b6SCy Schubert<p>flag = 274a25439b6SCy Schubert name = prefer; 275a25439b6SCy Schubert flags-cant = ipv4, ipv6; 276a25439b6SCy Schubert value = p; 277a25439b6SCy Schubert arg-type = keyword; 278a25439b6SCy Schubert keyword = 4, 6; 279052d159aSCy Schubert descrip = ’Prefer IPv4 or IPv6 (as specified) addresses, but use either’; 280a25439b6SCy Schubert doc = <<- _EndOfDoc_ 281a25439b6SCy SchubertPrefer IPv4 or IPv6 (as specified) addresses, but use either. 282052d159aSCy Schubert</p><hr> 283a466cc55SCy Schubert<span id="update_002dleap-destination"></span><div class="header"> 284052d159aSCy Schubert<p> 285052d159aSCy SchubertNext: <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> </p> 286a25439b6SCy Schubert</div> 287a466cc55SCy Schubert<span id="destination-option-_0028_002dd_0029"></span><h4 class="subsection">1.4 destination option (-d)</h4> 288a466cc55SCy Schubert<span id="index-update_002dleap_002ddestination"></span> 289a25439b6SCy Schubert 290052d159aSCy Schubert<p>This is the “filename on the local system” option. 291052d159aSCy SchubertThis option takes a string argument <samp>float</samp>. 292a25439b6SCy SchubertThe name to use to store the leapfile on the local system. 293a25439b6SCy Schubert$LEAPFILE 294052d159aSCy Schubert</p><hr> 295a466cc55SCy Schubert<span id="update_002dleap-expiration"></span><div class="header"> 296052d159aSCy Schubert<p> 297052d159aSCy SchubertNext: <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> </p> 298a25439b6SCy Schubert</div> 299a466cc55SCy Schubert<span id="expiration-option-_0028_002de_0029"></span><h4 class="subsection">1.5 expiration option (-e)</h4> 300a466cc55SCy Schubert<span id="index-update_002dleap_002dexpiration"></span> 301a25439b6SCy Schubert 302052d159aSCy Schubert<p>This is the “refresh the leapfile this long before it expires” option. 303a25439b6SCy SchubertThis option takes a string argument. 304a25439b6SCy SchubertSpecify how long before expiration the file is to be refreshed 305052d159aSCy SchubertUnits are required, e.g. "-e 60 days" Note that larger values 306a25439b6SCy Schubertimply more frequent refreshes. 307052d159aSCy Schubert"$PREFETCH" 308052d159aSCy Schubert</p><hr> 309a466cc55SCy Schubert<span id="update_002dleap-ntp_002dconf_002dfile"></span><div class="header"> 310052d159aSCy Schubert<p> 311052d159aSCy SchubertNext: <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> </p> 312a25439b6SCy Schubert</div> 313a466cc55SCy Schubert<span id="ntp_002dconf_002dfile-option-_0028_002df_0029"></span><h4 class="subsection">1.6 ntp-conf-file option (-f)</h4> 314a466cc55SCy Schubert<span id="index-update_002dleap_002dntp_002dconf_002dfile"></span> 315a25439b6SCy Schubert 316052d159aSCy Schubert<p>This is the “location of the ntp.conf file” option. 317a25439b6SCy SchubertThis option takes a string argument. 318a25439b6SCy SchubertSpecify location of ntp.conf (used to make sure leapfile directive is 319a25439b6SCy Schubertpresent and to default leapfile) 320a25439b6SCy Schubert/etc/ntp.conf 321052d159aSCy Schubert</p><hr> 322a466cc55SCy Schubert<span id="update_002dleap-force_002dupdate"></span><div class="header"> 323052d159aSCy Schubert<p> 324052d159aSCy SchubertNext: <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> </p> 325a25439b6SCy Schubert</div> 326a466cc55SCy Schubert<span id="force_002dupdate-option-_0028_002dF_0029"></span><h4 class="subsection">1.7 force-update option (-F)</h4> 327a466cc55SCy Schubert<span id="index-update_002dleap_002dforce_002dupdate"></span> 328a25439b6SCy Schubert 329052d159aSCy Schubert<p>This is the “force update of the leapfile” option. 330a25439b6SCy SchubertForce update even if current file is OK and not close to expiring. 331052d159aSCy Schubert</p><hr> 332a466cc55SCy Schubert<span id="update_002dleap-exit-status"></span><div class="header"> 333052d159aSCy Schubert<p> 334052d159aSCy SchubertNext: <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> </p> 335a25439b6SCy Schubert</div> 336a466cc55SCy Schubert<span id="update_002dleap-exit-status-1"></span><h4 class="subsection">1.8 update-leap exit status</h4> 337a25439b6SCy Schubert 338a25439b6SCy Schubert<p>One of the following exit values will be returned: 339052d159aSCy Schubert</p><dl compact="compact"> 340052d159aSCy Schubert<dt>‘<samp>0 (EXIT_SUCCESS)</samp>’</dt> 341052d159aSCy Schubert<dd><p>Successful program execution. 342052d159aSCy Schubert</p></dd> 343052d159aSCy Schubert<dt>‘<samp>1 (EXIT_FAILURE)</samp>’</dt> 344052d159aSCy Schubert<dd><p>The operation failed or the command syntax was not valid. 345052d159aSCy Schubert</p></dd> 346a25439b6SCy Schubert</dl> 347052d159aSCy Schubert<hr> 348a466cc55SCy Schubert<span id="update_002dleap-Usage"></span><div class="header"> 349052d159aSCy Schubert<p> 350052d159aSCy SchubertNext: <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> </p> 351a25439b6SCy Schubert</div> 352a466cc55SCy Schubert<span id="update_002dleap-Usage-1"></span><h4 class="subsection">1.9 update-leap Usage</h4> 353052d159aSCy Schubert<hr> 354a466cc55SCy Schubert<span id="update_002dleap-Authors"></span><div class="header"> 355052d159aSCy Schubert<p> 356052d159aSCy SchubertPrevious: <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> </p> 357a25439b6SCy Schubert</div> 358a466cc55SCy Schubert<span id="update_002dleap-Authors-1"></span><h4 class="subsection">1.10 update-leap Authors</h4> 359052d159aSCy Schubert<hr> 360a25439b6SCy Schubert 361a25439b6SCy Schubert 362a25439b6SCy Schubert 363052d159aSCy Schubert</body> 364052d159aSCy Schubert</html> 365