diff options
author | naddy <naddy@FreeBSD.org> | 2005-01-10 06:35:59 +0800 |
---|---|---|
committer | naddy <naddy@FreeBSD.org> | 2005-01-10 06:35:59 +0800 |
commit | ce96abe6042f6a2fe63e212f7be547ec55af7407 (patch) | |
tree | 36292e525604e325c0a2cad4541d63ae3344a899 /net/openntpd | |
parent | 555a22189320f756c71789be541a7b899140a1ed (diff) | |
download | freebsd-ports-gnome-ce96abe6042f6a2fe63e212f7be547ec55af7407.tar.gz freebsd-ports-gnome-ce96abe6042f6a2fe63e212f7be547ec55af7407.tar.zst freebsd-ports-gnome-ce96abe6042f6a2fe63e212f7be547ec55af7407.zip |
Add a paragraph to ntpd.8 about enabling ntpd in /etc/rc.conf.
Adapted from the equivalent text in the OpenBSD man page which has been
removed from the portable version.
Requested by: Don Sullivan <sullivan@gaia.arc.nasa.gov>
Diffstat (limited to 'net/openntpd')
-rw-r--r-- | net/openntpd/Makefile | 1 | ||||
-rw-r--r-- | net/openntpd/files/patch-ntpd.8 | 27 |
2 files changed, 25 insertions, 3 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile index a49a13c6faf2..b737e74d74fa 100644 --- a/net/openntpd/Makefile +++ b/net/openntpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= openntpd PORTVERSION= 3.6.1p1 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \ diff --git a/net/openntpd/files/patch-ntpd.8 b/net/openntpd/files/patch-ntpd.8 index a03a2ac8066c..27f3f8bf5a69 100644 --- a/net/openntpd/files/patch-ntpd.8 +++ b/net/openntpd/files/patch-ntpd.8 @@ -3,7 +3,28 @@ $FreeBSD$ --- ntpd.8.orig +++ ntpd.8 -@@ -71,7 +71,7 @@ +@@ -52,6 +52,20 @@ + .Xr adjtime 2 + will be logged. + .Pp ++.Nm ++is usually started at boot time, and can be enabled by ++setting the following in ++.Pa /etc/rc.conf : ++.Pp ++.Dl openntpd_enable=\&"YES\&" ++.Pp ++See ++.Xr rc 8 ++and ++.Xr rc.conf 5 ++for more information on the boot process ++and enabling daemons. ++.Pp + When + .Nm + starts up, it reads settings from a configuration file, +@@ -71,7 +85,7 @@ .Ar file as the configuration file, instead of the default @@ -12,7 +33,7 @@ $FreeBSD$ .It Fl S Do not set the time immediately at startup. This is the default. -@@ -83,22 +83,10 @@ +@@ -83,22 +97,10 @@ .Xr rdate 8 before starting .Nm . @@ -37,7 +58,7 @@ $FreeBSD$ default .Nm configuration file -@@ -107,8 +95,8 @@ +@@ -107,8 +109,8 @@ .Xr date 1 , .Xr adjtime 2 , .Xr ntpd.conf 5 , |