1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net/openntpd/files/patch-ntpd.8
Christian Weisgerber 2bc38c4ec1 Update to 4.6:
* DNS queries are delegated to a dedicated child process.
* The -v option will log all time adjustments.
2009-11-24 14:55:52 +00:00

75 lines
1.7 KiB
Groff

$FreeBSD$
--- ntpd.8.orig 2009-02-12 02:33:37.000000000 +0100
+++ ntpd.8 2009-11-23 21:36:02.000000000 +0100
@@ -29,8 +29,7 @@
.Sh DESCRIPTION
The
.Nm
-daemon synchronizes the local clock to one or more remote NTP servers
-or local timedelta sensors.
+daemon synchronizes the local clock to one or more remote NTP servers.
.Nm
can also act as an NTP server itself,
redistributing the local time.
@@ -52,7 +51,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.
@@ -91,19 +90,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_enable
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
@@ -120,22 +119,22 @@ When
.Nm
receives a
.Dv SIGINFO
-signal, it writes its peer and sensor status to
+signal, it writes its peer status to
.Xr syslog 3 .
.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.
.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 rc 8 ,
-.Xr rc.conf 8 ,
.Xr rdate 8 ,
.Xr timed 8
.Rs