aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-11-22 15:27:47 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-11-22 15:27:47 +0000
commit20d40a56cb26a334cfd484cb083ab2c2cae3b628 (patch)
tree1f795835206760f65f267ab5f20410efa4058e4d
parent850b25abab31d468d9b7e5946e9b4d3005ad7a3f (diff)
downloadsrc-20d40a56cb26a334cfd484cb083ab2c2cae3b628.tar.gz
src-20d40a56cb26a334cfd484cb083ab2c2cae3b628.zip
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
Notes
Notes: svn path=/head/; revision=326095
-rwxr-xr-xusr.sbin/bsdinstall/scripts/services2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/services b/usr.sbin/bsdinstall/scripts/services
index 83786c2868e0..c59628b2a88c 100755
--- a/usr.sbin/bsdinstall/scripts/services
+++ b/usr.sbin/bsdinstall/scripts/services
@@ -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} \