summaryrefslogtreecommitdiff
path: root/net/openntpd/files/patch-ntpd.conf.5
diff options
context:
space:
mode:
Diffstat (limited to 'net/openntpd/files/patch-ntpd.conf.5')
-rw-r--r--net/openntpd/files/patch-ntpd.conf.577
1 files changed, 72 insertions, 5 deletions
diff --git a/net/openntpd/files/patch-ntpd.conf.5 b/net/openntpd/files/patch-ntpd.conf.5
index f3f6710203bb..c323ed28e76e 100644
--- a/net/openntpd/files/patch-ntpd.conf.5
+++ b/net/openntpd/files/patch-ntpd.conf.5
@@ -1,9 +1,68 @@
-
$FreeBSD$
-
---- ntpd.conf.5.orig Sun Jul 18 14:25:21 2004
-+++ ntpd.conf.5 Sun Jul 18 14:25:44 2004
-@@ -80,8 +80,8 @@
+--- ntpd.conf.5.orig 2009-08-01 21:41:54.000000000 +0200
++++ ntpd.conf.5 2009-08-01 21:47:49.000000000 +0200
+@@ -28,7 +28,7 @@ configuration file.
+ The optional
+ .Ic weight
+ keyword permits finer control over the relative importance
+-of time sources (servers or sensor devices).
++of time sources.
+ Weights are specified in the range 1 to 10;
+ if no weight is given,
+ the default is 1.
+@@ -70,51 +70,6 @@ or
+ listen on 127.0.0.1
+ listen on ::1
+ .Ed
+-.It Xo Ic sensor Ar device
+-.Op Ic correction Ar microseconds
+-.Op Ic weight Ar weight-value
+-.Op Ic refid Ar string
+-.Xc
+-Specify a timedelta sensor device
+-.Xr ntpd 8
+-should use.
+-The sensor can be specified multiple times:
+-.Xr ntpd 8
+-will use each given sensor that actually exists.
+-Non-existent sensors are ignored.
+-If
+-.Sq *
+-is given as device name,
+-.Xr ntpd 8
+-will use all timedelta sensors it finds.
+-.Xr ntpd 8
+-does not use any timedelta sensor by default.
+-For example:
+-.Bd -literal -offset indent
+-sensor *
+-sensor udcf0
+-.Ed
+-.Pp
+-An optional correction in microseconds can be given to compensate
+-for the sensor's offset.
+-The maximum correction is 127 seconds.
+-For example, if a DCF77 receiver is lagging 15ms behind
+-actual time:
+-.Bd -literal -offset indent
+-sensor udcf0 correction 15000
+-.Ed
+-.Pp
+-An optional reference ID string - up to 4 ASCII characters - can be
+-given to publish the sensor type to clients.
+-RFC 2030 suggests some common reference identifiers, but new identifiers
+-"can be contrived as appropriate."
+-If an ID string is not given,
+-.Xr ntpd 8
+-will use a generic reference ID.
+-For example:
+-.Bd -literal -offset indent
+-sensor msts0 refid GPS
+-.Ed
+ .It Xo Ic server Ar address
+ .Op Ic weight Ar weight-value
+ .Xc
+@@ -157,15 +112,14 @@ servers pool.ntp.org
.Ed
.El
.Sh FILES
@@ -14,3 +73,11 @@ $FreeBSD$
default
.Xr ntpd 8
configuration file
+ .El
+ .Sh SEE ALSO
+-.Xr ntpd 8 ,
+-.Xr sysctl 8
++.Xr ntpd 8
+ .Sh HISTORY
+ The
+ .Nm