opnsense-ports/net/openntpd/files/patch-src_ntpd.8
Franco Fichtner 356bd85896 */*: sync with upstream
Taken from: FreeBSD
2016-06-08 07:42:21 +02:00

61 lines
1.4 KiB
Groff

--- src/ntpd.8.orig 2016-05-30 22:50:02 UTC
+++ src/ntpd.8
@@ -56,7 +56,7 @@ Use
.Ar file
as the configuration file,
instead of the default
-.Pa /etc/ntpd.conf .
+.Pa %%PREFIX%%/etc/ntpd.conf .
.It Fl n
Configtest mode.
Only check the configuration file for validity.
@@ -99,19 +99,19 @@ will be logged.
After the local clock is synchronized,
.Nm
adjusts the clock frequency using the
-.Xr adjfreq 2
+.Xr ntp_adjtime 2
system call to compensate for systematic drift.
.Pp
.Nm
is usually started at boot time, and can be enabled by
setting
-.Va ntpd_flags
+.Va openntpd_flags
in
-.Pa /etc/rc.conf.local .
+.Pa /etc/rc.conf .
See
.Xr rc 8
and
-.Xr rc.conf 8
+.Xr rc.conf 5
for more information on the boot process
and enabling daemons.
.Pp
@@ -124,8 +124,8 @@ and its initial clock drift from
.Pa /var/db/ntpd.drift .
Clock drift is periodically written to the drift file thereafter.
.Sh FILES
-.Bl -tag -width "/var/db/ntpd.driftXXX" -compact
-.It Pa /etc/ntpd.conf
+.Bl -tag -width "%%PREFIX%%/etc/ntpd.confXXX" -compact
+.It Pa %%PREFIX%%/etc/ntpd.conf
Default configuration file.
.It Pa /var/db/ntpd.drift
Drift file.
@@ -135,12 +135,12 @@ Socket file for communication with
.El
.Sh SEE ALSO
.Xr date 1 ,
-.Xr adjfreq 2 ,
.Xr adjtime 2 ,
+.Xr ntp_adjtime 2 ,
.Xr ntpd.conf 5 ,
+.Xr rc.conf 5 ,
.Xr ntpctl 8 ,
.Xr rc 8 ,
-.Xr rc.conf 8 ,
.Xr rdate 8
.Sh STANDARDS
.Rs