xref: /freebsd/contrib/ntp/html/ntp-wait.html (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3	<head>
4		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
5		<meta name="generator" content="HTML Tidy, see www.w3.org">
6		<title>ntp-wait - waits until ntpd is in synchronized state</title>
7		<link href="scripts/style.css" type="text/css" rel="stylesheet">
8	</head>
9	<body>
10		<h3><tt>ntp-wait</tt> - waits until ntpd is in synchronized state</h3>
11<p>Last update:
12  <!-- #BeginDate format:En2m -->12-Jul-2011  22:03<!-- #EndDate -->
13    UTC</p>
14		<hr>
15		<h4>Synopsis</h4>
16		<p><tt>ntp-wait [ -v ] [ -n <i>tries</i> ] [ -s <i>seconds</i> ]</tt></p>
17		<h4>Description</h4>
18		<p>The <tt>ntp-wait</tt> program blocks until ntpd is in synchronized state.
19		This can be useful at boot time, to delay the boot sequence
20		until after "ntpd -g" has set the time.
21		<h4>Command Line Options</h4>
22		<dl>
23			<dt><tt>-n <i>tries</i></tt>
24			<dd>Number of tries before giving up. The default is 1000.
25			<dt><tt>-s <i>seconds</i></tt>
26			<dd>Seconds to sleep between tries. The default is 6 seconds.
27			<dt><tt>-v</tt>
28			<dd>Be verbose.
29		</dl>
30		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
31	</body>
32
33</html>
34