Date: Wed, 22 Nov 2017 09:38:08 -0700 From: Ian Lepore <ian@freebsd.org> To: Emmanuel Vadot <manu@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r326095 - head/usr.sbin/bsdinstall/scripts Message-ID: <1511368688.46031.1.camel@freebsd.org> In-Reply-To: <201711221527.vAMFRlTc041361@repo.freebsd.org> References: <201711221527.vAMFRlTc041361@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2017-11-22 at 15:27 +0000, Emmanuel Vadot wrote: > Author: manu > Date: Wed Nov 22 15:27:47 2017 > New Revision: 326095 > URL: https://svnweb.freebsd.org/changeset/base/326095 > > Log: > 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 > > Modified: > head/usr.sbin/bsdinstall/scripts/services > > Modified: head/usr.sbin/bsdinstall/scripts/services > ============================================================================== > --- head/usr.sbin/bsdinstall/scripts/services Wed Nov 22 15:18:11 2017 (r326094) > +++ head/usr.sbin/bsdinstall/scripts/services Wed Nov 22 15:27:47 2017 (r326095) > @@ -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} \ > The right way to enable a time-step at boot is to set the rc conf variable ntpd_sync_on_start to YES. ntpdate has been deprecated for *years*. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1511368688.46031.1.camel>