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