summaryrefslogtreecommitdiff
path: root/net/ntp/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-09-06 03:40:36 +0000
committerCy Schubert <cy@FreeBSD.org>2018-09-06 03:40:36 +0000
commit75e8e9b2da9a0318c82a3f6883bc056a0b5adfca (patch)
tree9a0a24ff2dbca604130f9f5a7ce815d1bdc157b5 /net/ntp/files
parentUpdate to the latest MIT commit. (diff)
Also tell people how to enable ntpd and ntpdate from ports using
sysrc. mat@ suggested this however as I'm not enamoured with sysrc, it has been added as annother approach to add/edit rc.conf variables. Reported by: mat@ MFH: 2018Q3
Notes
Notes: svn path=/head/; revision=479083
Diffstat (limited to 'net/ntp/files')
-rw-r--r--net/ntp/files/pkg-message.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/ntp/files/pkg-message.in b/net/ntp/files/pkg-message.in
index 9798b4e781b5..5c1aa1544488 100644
--- a/net/ntp/files/pkg-message.in
+++ b/net/ntp/files/pkg-message.in
@@ -3,5 +3,9 @@ Please add
ntpd_program="%%PREFIX%%/sbin/ntpd"
ntpdate_program="%%PREFIX%%/sbin/ntpdate"
-to your /etc/rc.conf to enable ntp from ports/packages instead
-of base ntp.
+to your /etc/rc.conf or run
+
+ sysrc ntpd_program="%%PREFIX%%/sbin/ntpd"
+ sysrc ntpdate_program="%%PREFIX%%/sbin/ntpdate"
+
+to enable ntp from ports/packages instead of base ntp.