File: ntp-wait.8

package info (click to toggle)
ntp 1%3A4.2.2.p4%2Bdfsg-2etch4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 10,236 kB
  • ctags: 10,865
  • sloc: ansic: 90,242; sh: 4,314; perl: 1,331; makefile: 631; awk: 417; asm: 37; sed: 7
file content (23 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.TH NTPQ 8 "October 7, 2006" "Network Time Protocol"
.SH NAME
ntp-wait \- wait for NTP server to synchronize
.SH SYNOPSIS
.B ntp-wait
[ -f ] [ -n \fItries\fR ] [ -s \fIsleep\fR ] [ -v ]
.SH DESCRIPTION
ntp-wait waits until the locally running ntpd is in state 4 (synchronized).
This could be useful at boot time, to delay the boot sequence until after
"ntpd -g" has set the time.
.SH OPTIONS
.TP
-f
Force hard failure if state is unknown.
.TP
-n \fItries\fR
Number of tries before giving up (default 1000 = 10min+)
.TP
-s \fIsleep\fR
Seconds to sleep between tries (default 6s = 10/min)
.TP
-v
Be verbose.