bsdinstall: Add ntpdate option

When you install a computer for the first time, the date in the CMOS sometimes
not accurate and you need to ntpdate as ntpd will fail a the time difference
is too big.
Add an option in bsdinstall to enable ntpdate that will do that for us.

Reviewed by:	allanjude
Differential Revision:	https://reviews.freebsd.org/D13149
This commit is contained in:
Emmanuel Vadot 2017-11-22 15:27:47 +00:00
parent 850b25abab
commit 20d40a56cb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326095

View File

@ -46,6 +46,8 @@ DAEMONS=$( dialog --backtitle "FreeBSD Installer" \
local_unbound "Local caching validating resolver" ${local_unbound:-off} \
sshd "Secure shell daemon" ${sshd_enable:-off} \
moused "PS/2 mouse pointer on console" ${moused_enable:-off} \
ntpdate "Synchronize system and network time at bootime" \
${ntpdate_enable:-off} \
ntpd "Synchronize system and network time" ${ntpd_enable:-off} \
powerd "Adjust CPU frequency dynamically if supported" \
${powerd_enable:-off} \