aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2020-12-07 20:02:53 +0100
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2020-12-07 20:02:53 +0100
commite2ea8de64c08a96be6c489bcde60f65a10a93ed9 (patch)
tree420f6727ef671847ef91b7165a5456db05616623
parent912fc819e5087f071b591ac0433c0aa82ebd12da (diff)
downloadntpd-setwait-e2ea8de64c08a96be6c489bcde60f65a10a93ed9.tar.gz
ntpd-setwait-e2ea8de64c08a96be6c489bcde60f65a10a93ed9.tar.bz2
ntpd-setwait-e2ea8de64c08a96be6c489bcde60f65a10a93ed9.zip
ntpd-setwait.1: update man page with new -i argument
Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
-rw-r--r--ntpd-setwait.119
1 files changed, 11 insertions, 8 deletions
diff --git a/ntpd-setwait.1 b/ntpd-setwait.1
index 6a52334..e003803 100644
--- a/ntpd-setwait.1
+++ b/ntpd-setwait.1
@@ -6,10 +6,11 @@
.SH SYNOPSIS
.PP
.B ntpd-setwait
-.RB < -f | -d >
+.RB [ -f ]
+.RB [ -i<ip> ]
.RB < max-deviation >
.RB < ntpd-bin >
-.RB [< ntpd-opts >]
+.RB [ ntpd-opts ]
.SH DESCRIPTION
.PP
.B ntpd-setwait
@@ -39,6 +40,8 @@ syscall, so after that
cease to exist.
.SH OPTIONS
.PP
+All options are positional.
+.PP
.TP
.B -f
Run program in foreground - this may be usefull when you want to stop system
@@ -54,13 +57,13 @@ pid will be the same as
due to
.BR execve ()
function.
+By default, program forks into background.
.TP
-.B -d
-Fork program into background.
-This is usefull when you want time to be synchronized, but you don't really
-care if this happens now or after couple of hours when internet shows up.
-Just make sure your programs are resistant to immediate jump from past to
-the present.
+.B -i
+By default, programs takes ntp server from pool.ntp.org, but if you want
+to specify own server (on local network) you can do it by passing -i
+argument. Usefull when your board does not really have internet access,
+but it can access internal server with ntpd server.
.TP
.RB < max-deviation >
Positional argument.