mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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>
This commit is contained in:
parent
e0f905c9d8
commit
1d8b43d885
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126005
2 changed files with 25 additions and 3 deletions
|
@ -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/ \
|
||||
|
|
|
@ -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 ,
|
||||
|
|
Loading…
Add table
Reference in a new issue