1310419Sdelphij.Dd November 21 2016
2290001Sglebius.Dt NTP_WAIT @NTP_WAIT_MS@ User Commands
3290001Sglebius.Os
4290001Sglebius.\"  EDIT THIS FILE WITH CAUTION  (ntp-wait-opts.mdoc)
5290001Sglebius.\"
6310419Sdelphij.\"  It has been AutoGen-ed  November 21, 2016 at 07:58:50 AM by AutoGen 5.18.5
7290001Sglebius.\"  From the definitions    ntp-wait-opts.def
8290001Sglebius.\"  and the template file   agmdoc-cmd.tpl
9290001Sglebius.Sh NAME
10290001Sglebius.Nm ntp-wait
11290001Sglebius.Nd Wait for ntpd to stabilize the system clock
12290001Sglebius.Sh SYNOPSIS
13290001Sglebius.Nm
14290001Sglebius.\" Mixture of short (flag) options and long options
15290001Sglebius.Op Fl flags
16290001Sglebius.Op Fl flag Op Ar value
17290001Sglebius.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
18290001Sglebius.Pp
19290001SglebiusAll arguments must be options.
20290001Sglebius.Pp
21290001Sglebius.Sh DESCRIPTION
22290001Sglebius.Nm
23290001Sglebiuswill send at most
24290001Sglebius.Ar num\-tries
25290001Sglebiusqueries to
26290001Sglebius.Xr ntpd 8 ,
27290001Sglebiussleeping for
28290001Sglebius.Ar secs\-between\-tries
29290001Sglebiusafter each status return that says
30290001Sglebius.Xr ntpd 8
31290001Sglebiushas not yet produced a synchronized and stable system clock.
32290001Sglebius.Pp
33290001Sglebius.Nm
34290001Sglebiuswill do this quietly, unless the
35290001Sglebius.Fl v
36290001Sglebiusflag is provided.
37290001SglebiusThis can be useful at boot time, to delay the boot sequence until after
38290001Sglebius.Ar ntpd \-g 
39290001Sglebiushas set the time.
40290001Sglebius.Sh "OPTIONS"
41290001Sglebius.Bl -tag
42290001Sglebius.It  Fl n Ar number , Fl \-tries Ns = Ns Ar number 
43290001SglebiusNumber of times to check ntpd.
44290001SglebiusThis option takes an integer number as its argument.
45290001SglebiusThe default
46290001Sglebius.Ar number
47290001Sglebiusfor this option is:
48290001Sglebius.ti +4
49290001Sglebius 100
50290001Sglebius.sp
51290001Sglebius        The maximum number of times we will check \fBntpd\fP to see if
52290001Sglebius        it has been able to synchronize and stabilize the system clock.
53290001Sglebius.It  Fl s Ar secs\-between\-tries , Fl \-sleep Ns = Ns Ar secs\-between\-tries 
54290001SglebiusHow long to sleep between tries.
55290001SglebiusThis option takes an integer number as its argument.
56290001SglebiusThe default
57290001Sglebius.Ar secs\-between\-tries
58290001Sglebiusfor this option is:
59290001Sglebius.ti +4
60290001Sglebius 6
61290001Sglebius.sp
62290001Sglebius        We will sleep for \fIsecs\-between\-tries\fP after each query
63290001Sglebius        of \fBntpd\fP that returns "the time is not yet stable".
64290001Sglebius.It  Fl v , Fl \-verbose 
65290001SglebiusBe verbose.
66290001Sglebius.sp
67290001Sglebius        By default, \fBntp\-wait\fP is silent.
68290001Sglebius        With this option, \fBntp\-wait\fP will provide status information.
69290001Sglebius.It Fl \&? , Fl \-help
70290001SglebiusDisplay usage information and exit.
71290001Sglebius.It Fl \&! , Fl \-more\-help
72290001SglebiusPass the extended usage information through a pager.
73290001Sglebius.It Fl v Op Brq Ar v|c|n  Fl \-version Op Brq Ar v|c|n
74290001SglebiusOutput version of program and exit.  The default mode is `v', a simple
75290001Sglebiusversion.  The `c' mode will print copyright information and `n' will
76290001Sglebiusprint the full copyright notice.
77290001Sglebius.El
78290001Sglebius.Sh "EXIT STATUS"
79290001SglebiusOne of the following exit values will be returned:
80290001Sglebius.Bl -tag
81290001Sglebius.It 0 " (EXIT_SUCCESS)"
82290001SglebiusSuccessful program execution.
83290001Sglebius.It 1 " (EXIT_FAILURE)"
84290001SglebiusThe operation failed or the command syntax was not valid.
85290001Sglebius.It 70 " (EX_SOFTWARE)"
86290001Sglebiuslibopts had an internal operational error.  Please report
87290001Sglebiusit to autogen\-users@lists.sourceforge.net.  Thank you.
88290001Sglebius.El
89290001Sglebius.Sh AUTHORS
90290001Sglebius.An "Harlan Stenn"
91290001Sglebius.Sh NOTES
92290001SglebiusThis document corresponds to version @VERSION@ of NTP.
93290001Sglebius.Pp
94290001SglebiusThis manual page was \fIAutoGen\fP\-erated from the \fBntp\-wait\fP
95290001Sglebiusoption definitions.
96