git: c153a35bfd71 - main - bsdinstall: replace ntpdate by ntpd_sync_on_start
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 27 Sep 2022 09:04:46 UTC
The branch main has been updated by egypcio (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c153a35bfd716fd74e4b3955cc60541b78ab3d8e
commit c153a35bfd716fd74e4b3955cc60541b78ab3d8e
Author: Vinícius Zavam <egypcio@FreeBSD.org>
AuthorDate: 2022-09-27 09:04:20 +0000
Commit: Vinícius Zavam <egypcio@FreeBSD.org>
CommitDate: 2022-09-27 09:04:20 +0000
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
---
usr.sbin/bsdinstall/scripts/services | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/bsdinstall/scripts/services b/usr.sbin/bsdinstall/scripts/services
index f18f65b2afb0..bfb3a07d48f0 100755
--- a/usr.sbin/bsdinstall/scripts/services
+++ b/usr.sbin/bsdinstall/scripts/services
@@ -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} \