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
This commit is contained in:
Cy Schubert 2018-09-06 03:40:36 +00:00
parent 8d18ee393e
commit 75e8e9b2da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479083
2 changed files with 7 additions and 3 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= ntp PORTNAME= ntp
PORTVERSION= 4.2.8p12 PORTVERSION= 4.2.8p12
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= net ipv6 CATEGORIES= net ipv6
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
http://archive.ntp.org/ntp4/ntp-4.2/ \ http://archive.ntp.org/ntp4/ntp-4.2/ \

View file

@ -3,5 +3,9 @@ Please add
ntpd_program="%%PREFIX%%/sbin/ntpd" ntpd_program="%%PREFIX%%/sbin/ntpd"
ntpdate_program="%%PREFIX%%/sbin/ntpdate" ntpdate_program="%%PREFIX%%/sbin/ntpdate"
to your /etc/rc.conf to enable ntp from ports/packages instead to your /etc/rc.conf or run
of base ntp.
sysrc ntpd_program="%%PREFIX%%/sbin/ntpd"
sysrc ntpdate_program="%%PREFIX%%/sbin/ntpdate"
to enable ntp from ports/packages instead of base ntp.