summaryrefslogtreecommitdiff
path: root/net/openntpd/files/patch-ntpd.8
blob: 27f3f8bf5a69fedf3acd907d14ccce248cd763d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
$FreeBSD$

--- ntpd.8.orig
+++ ntpd.8
@@ -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
-.Pa /etc/ntpd.conf .
+.Pa %%PREFIX%%/etc/ntpd.conf .
 .It Fl S
 Do not set the time immediately at startup.
 This is the default.
@@ -83,22 +97,10 @@
 .Xr rdate 8
 before starting
 .Nm .
-Currently, the
-.Fl s
-option is added unconditionally in
-.Xr rc 8 .
-Make sure to specify the
-.Fl S
-option
-(add/edit
-.Va ntpd_flags
-in
-.Xr rc.conf.local 8 )
-if this behaviour is not desired.
 .El
 .Sh FILES
-.Bl -tag -width "/etc/ntpd.confXXX" -compact
-.It Pa /etc/ntpd.conf
+.Bl -tag -width "%%PREFIX%%/etc/ntpd.confXXX" -compact
+.It Pa %%PREFIX%%/etc/ntpd.conf
 default
 .Nm
 configuration file
@@ -107,8 +109,8 @@
 .Xr date 1 ,
 .Xr adjtime 2 ,
 .Xr ntpd.conf 5 ,
+.Xr rc.conf 5 ,
 .Xr rc 8 ,
-.Xr rc.conf 8 ,
 .Xr rdate 8 ,
 .Xr timed 8
 .Rs