bsdinstall: replace ntpdate by ntpd_sync_on_start

* change current NTP services offered by the FreeBSD Installer;
  * no longer offer ntpdate to be enabled and started on boot;
  * start offering the option to make ntpd set the date and time on boot itself.

The motivation for this change comes from the ntpdate(8) manpage:

  Note: The functionality of this program is now available in the ntpd(8)
  program. See the -q command line option in the ntpd(8) page. After a
  suitable period of mourning, the ntpdate utility is to be retired from
  this distribution.

Approved by:		cy (src), dteske (src)
Differential Revision:	https://reviews.freebsd.org/D36206
This commit is contained in:
Vinícius Zavam 2022-09-27 09:04:20 +00:00
parent 8dcc207de5
commit c153a35bfd
No known key found for this signature in database
GPG Key ID: 415C653413B43475

View File

@ -49,9 +49,9 @@ DAEMONS=$( bsddialog --backtitle "$OSNAME 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} \
ntpd_sync_on_start "Sync time on ntpd startup, even if offset is high" \
${ntpd_sync_on_start:-off} \
powerd "Adjust CPU frequency dynamically if supported" \
${powerd_enable:-off} \
dumpdev "Enable kernel crash dumps to /var/crash" ${dumpdev:-on} \