1 1.1.1.15 christos .Dd May 25 2024 2 1.1 christos .Dt NTP_WAIT 1ntp-waitmdoc User Commands 3 1.1.1.2 christos .Os 4 1.1 christos .\" EDIT THIS FILE WITH CAUTION (ntp-wait-opts.mdoc) 5 1.1 christos .\" 6 1.1.1.15 christos .\" It has been AutoGen-ed May 25, 2024 at 12:05:37 AM by AutoGen 5.18.16 7 1.1 christos .\" From the definitions ntp-wait-opts.def 8 1.1 christos .\" and the template file agmdoc-cmd.tpl 9 1.1 christos .Sh NAME 10 1.1 christos .Nm ntp-wait 11 1.1 christos .Nd Wait for ntpd to stabilize the system clock 12 1.1 christos .Sh SYNOPSIS 13 1.1 christos .Nm 14 1.1 christos .\" Mixture of short (flag) options and long options 15 1.1 christos .Op Fl flags 16 1.1.1.2 christos .Op Fl flag Op Ar value 17 1.1.1.2 christos .Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc 18 1.1 christos .Pp 19 1.1 christos All arguments must be options. 20 1.1 christos .Pp 21 1.1 christos .Sh DESCRIPTION 22 1.1 christos .Nm 23 1.1 christos will send at most 24 1.1 christos .Ar num\-tries 25 1.1 christos queries to 26 1.1 christos .Xr ntpd 8 , 27 1.1 christos sleeping for 28 1.1 christos .Ar secs\-between\-tries 29 1.1 christos after each status return that says 30 1.1 christos .Xr ntpd 8 31 1.1 christos has not yet produced a synchronized and stable system clock. 32 1.1 christos .Pp 33 1.1 christos .Nm 34 1.1 christos will do this quietly, unless the 35 1.1 christos .Fl v 36 1.1 christos flag is provided. 37 1.1.1.2 christos This can be useful at boot time, to delay the boot sequence until after 38 1.1.1.2 christos .Ar ntpd \-g 39 1.1.1.2 christos has set the time. 40 1.1 christos .Sh "OPTIONS" 41 1.1 christos .Bl -tag 42 1.1.1.2 christos .It Fl n Ar number , Fl \-tries Ns = Ns Ar number 43 1.1 christos Number of times to check ntpd. 44 1.1 christos This option takes an integer number as its argument. 45 1.1.1.2 christos The default 46 1.1.1.2 christos .Ar number 47 1.1.1.2 christos for this option is: 48 1.1 christos .ti +4 49 1.1 christos 100 50 1.1 christos .sp 51 1.1.1.2 christos The maximum number of times we will check \fBntpd\fP to see if 52 1.1.1.2 christos it has been able to synchronize and stabilize the system clock. 53 1.1.1.2 christos .It Fl s Ar secs\-between\-tries , Fl \-sleep Ns = Ns Ar secs\-between\-tries 54 1.1 christos How long to sleep between tries. 55 1.1 christos This option takes an integer number as its argument. 56 1.1.1.2 christos The default 57 1.1.1.2 christos .Ar secs\-between\-tries 58 1.1.1.2 christos for this option is: 59 1.1 christos .ti +4 60 1.1 christos 6 61 1.1 christos .sp 62 1.1.1.2 christos We will sleep for \fIsecs\-between\-tries\fP after each query 63 1.1.1.2 christos of \fBntpd\fP that returns "the time is not yet stable". 64 1.1.1.2 christos .It Fl v , Fl \-verbose 65 1.1 christos Be verbose. 66 1.1 christos .sp 67 1.1.1.2 christos By default, \fBntp\-wait\fP is silent. 68 1.1.1.2 christos With this option, \fBntp\-wait\fP will provide status information. 69 1.1.1.2 christos .It Fl \&? , Fl \-help 70 1.1 christos Display usage information and exit. 71 1.1.1.2 christos .It Fl \&! , Fl \-more\-help 72 1.1 christos Pass the extended usage information through a pager. 73 1.1.1.2 christos .It Fl v Op Brq Ar v|c|n Fl \-version Op Brq Ar v|c|n 74 1.1 christos Output version of program and exit. The default mode is `v', a simple 75 1.1 christos version. The `c' mode will print copyright information and `n' will 76 1.1 christos print the full copyright notice. 77 1.1 christos .El 78 1.1 christos .Sh "EXIT STATUS" 79 1.1 christos One of the following exit values will be returned: 80 1.1 christos .Bl -tag 81 1.1 christos .It 0 " (EXIT_SUCCESS)" 82 1.1 christos Successful program execution. 83 1.1 christos .It 1 " (EXIT_FAILURE)" 84 1.1 christos The operation failed or the command syntax was not valid. 85 1.1 christos .It 70 " (EX_SOFTWARE)" 86 1.1 christos libopts had an internal operational error. Please report 87 1.1 christos it to autogen\-users (a] lists.sourceforge.net. Thank you. 88 1.1 christos .El 89 1.1 christos .Sh AUTHORS 90 1.1 christos .An "Harlan Stenn" 91 1.1 christos .Sh NOTES 92 1.1.1.2 christos This document corresponds to version @VERSION@ of NTP. 93 1.1 christos .Pp 94 1.1 christos This manual page was \fIAutoGen\fP\-erated from the \fBntp\-wait\fP 95 1.1 christos option definitions. 96