1*3323ceb7Schristos.Dd June 23 2020 22b3787f6Schristos.Dt NTP_WAIT 1ntp-waitmdoc User Commands 31b6f2cd4Schristos.Os 42b3787f6Schristos.\" EDIT THIS FILE WITH CAUTION (ntp-wait-opts.mdoc) 52b3787f6Schristos.\" 6*3323ceb7Schristos.\" It has been AutoGen-ed June 23, 2020 at 02:21:30 AM by AutoGen 5.18.5 72b3787f6Schristos.\" From the definitions ntp-wait-opts.def 82b3787f6Schristos.\" and the template file agmdoc-cmd.tpl 92b3787f6Schristos.Sh NAME 102b3787f6Schristos.Nm ntp-wait 112b3787f6Schristos.Nd Wait for ntpd to stabilize the system clock 122b3787f6Schristos.Sh SYNOPSIS 132b3787f6Schristos.Nm 142b3787f6Schristos.\" Mixture of short (flag) options and long options 152b3787f6Schristos.Op Fl flags 161b6f2cd4Schristos.Op Fl flag Op Ar value 171b6f2cd4Schristos.Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc 182b3787f6Schristos.Pp 192b3787f6SchristosAll arguments must be options. 202b3787f6Schristos.Pp 212b3787f6Schristos.Sh DESCRIPTION 222b3787f6Schristos.Nm 232b3787f6Schristoswill send at most 242b3787f6Schristos.Ar num\-tries 252b3787f6Schristosqueries to 262b3787f6Schristos.Xr ntpd 8 , 272b3787f6Schristossleeping for 282b3787f6Schristos.Ar secs\-between\-tries 292b3787f6Schristosafter each status return that says 302b3787f6Schristos.Xr ntpd 8 312b3787f6Schristoshas not yet produced a synchronized and stable system clock. 322b3787f6Schristos.Pp 332b3787f6Schristos.Nm 342b3787f6Schristoswill do this quietly, unless the 352b3787f6Schristos.Fl v 362b3787f6Schristosflag is provided. 371b6f2cd4SchristosThis can be useful at boot time, to delay the boot sequence until after 381b6f2cd4Schristos.Ar ntpd \-g 391b6f2cd4Schristoshas set the time. 402b3787f6Schristos.Sh "OPTIONS" 412b3787f6Schristos.Bl -tag 421b6f2cd4Schristos.It Fl n Ar number , Fl \-tries Ns = Ns Ar number 432b3787f6SchristosNumber of times to check ntpd. 442b3787f6SchristosThis option takes an integer number as its argument. 451b6f2cd4SchristosThe default 461b6f2cd4Schristos.Ar number 471b6f2cd4Schristosfor this option is: 482b3787f6Schristos.ti +4 492b3787f6Schristos 100 502b3787f6Schristos.sp 512b3787f6Schristos The maximum number of times we will check \fBntpd\fP to see if 522b3787f6Schristos it has been able to synchronize and stabilize the system clock. 531b6f2cd4Schristos.It Fl s Ar secs\-between\-tries , Fl \-sleep Ns = Ns Ar secs\-between\-tries 542b3787f6SchristosHow long to sleep between tries. 552b3787f6SchristosThis option takes an integer number as its argument. 561b6f2cd4SchristosThe default 571b6f2cd4Schristos.Ar secs\-between\-tries 581b6f2cd4Schristosfor this option is: 592b3787f6Schristos.ti +4 602b3787f6Schristos 6 612b3787f6Schristos.sp 622b3787f6Schristos We will sleep for \fIsecs\-between\-tries\fP after each query 632b3787f6Schristos of \fBntpd\fP that returns "the time is not yet stable". 641b6f2cd4Schristos.It Fl v , Fl \-verbose 652b3787f6SchristosBe verbose. 662b3787f6Schristos.sp 672b3787f6Schristos By default, \fBntp\-wait\fP is silent. 682b3787f6Schristos With this option, \fBntp\-wait\fP will provide status information. 691b6f2cd4Schristos.It Fl \&? , Fl \-help 702b3787f6SchristosDisplay usage information and exit. 711b6f2cd4Schristos.It Fl \&! , Fl \-more\-help 722b3787f6SchristosPass the extended usage information through a pager. 731b6f2cd4Schristos.It Fl v Op Brq Ar v|c|n Fl \-version Op Brq Ar v|c|n 742b3787f6SchristosOutput version of program and exit. The default mode is `v', a simple 752b3787f6Schristosversion. The `c' mode will print copyright information and `n' will 762b3787f6Schristosprint the full copyright notice. 772b3787f6Schristos.El 782b3787f6Schristos.Sh "EXIT STATUS" 792b3787f6SchristosOne of the following exit values will be returned: 802b3787f6Schristos.Bl -tag 812b3787f6Schristos.It 0 " (EXIT_SUCCESS)" 822b3787f6SchristosSuccessful program execution. 832b3787f6Schristos.It 1 " (EXIT_FAILURE)" 842b3787f6SchristosThe operation failed or the command syntax was not valid. 852b3787f6Schristos.It 70 " (EX_SOFTWARE)" 862b3787f6Schristoslibopts had an internal operational error. Please report 872b3787f6Schristosit to autogen\-users@lists.sourceforge.net. Thank you. 882b3787f6Schristos.El 892b3787f6Schristos.Sh AUTHORS 902b3787f6Schristos.An "Harlan Stenn" 912b3787f6Schristos.Sh NOTES 921b6f2cd4SchristosThis document corresponds to version @VERSION@ of NTP. 932b3787f6Schristos.Pp 942b3787f6SchristosThis manual page was \fIAutoGen\fP\-erated from the \fBntp\-wait\fP 952b3787f6Schristosoption definitions. 96