From nobody Tue Sep 27 09:04:46 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4McDGQ4KfCz4YFfP; Tue, 27 Sep 2022 09:04:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4McDGQ3pBDz44xX; Tue, 27 Sep 2022 09:04:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664269486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4Pj5X6N7R9LeAUQ5mfDCTS4gf/xo38CAh7IEJ/EpIko=; b=xzDLk/QNCotdPvFTxXOhw/4nCvbQhMxLT1Gw18/5IteFLpXPNr713+ZeyLejeWzsbz1lQa v33sMdWRMZHKn9GMjxO3jgXDcOFSB0beQ0yyuhQ3eblPY+H9bo2+lozMVWiEwxeF1eOy0M 0zTZ2LUy02ZlVW7QH7jB0bsRDVdRHksmx/PMSDb0t2XeX9wtMqRTeu0j5r3eRKpKuJDoJI QeT1ZTyOBje3xqT5NP6nPAevvsLJTalcN2MaoacBbYJd3OrJ2+ie6HWIEJ0z8FobzDUtN2 l2zFz9h6VcXHw499uzYBqnf7c6VYHiz/97y9RqsKsUjTg8yR/HVbOmQxyB+rmw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4McDGQ2lm7z14Vm; Tue, 27 Sep 2022 09:04:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28R94kbN055178; Tue, 27 Sep 2022 09:04:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28R94kvj055177; Tue, 27 Sep 2022 09:04:46 GMT (envelope-from git) Date: Tue, 27 Sep 2022 09:04:46 GMT Message-Id: <202209270904.28R94kvj055177@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Vin=C3=ADcius=20Zavam?= Subject: git: c153a35bfd71 - main - bsdinstall: replace ntpdate by ntpd_sync_on_start List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: egypcio X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c153a35bfd716fd74e4b3955cc60541b78ab3d8e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664269486; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4Pj5X6N7R9LeAUQ5mfDCTS4gf/xo38CAh7IEJ/EpIko=; b=NIPnyI2X/YwobgvhKuMTaW3Wu6c6GFPUSrKxpVfXs+hPd/aSh/DrbmkhaWi3BNMa5n8L+9 y8q7IHIIISc/HxiapkGXlQsXXMOc8Kn3/3cHN5RvkjlVZnHIqo21dbLb9a4ll+YnT6Ovck 3ZmyQ3EyFv0zKx5Dvb34FvsBjjXhvgRYeV9Xv0THwCVdlikZWsG0zhafoVhD3Ql3U4WwQz XVjHfi1MO4BcsQFWzNlYXUXuTEgxpgVsCH5cn7LIpwHTT5uYlMKcdQEbyncwyzbObI/Ttm d+decn9E/EsIAZfXyrER9dOFHa6sO2eSRuM4/qkVEA4qoi4Ety5tYPbBfy6aEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664269486; a=rsa-sha256; cv=none; b=TE7F1as9sjiIDJX/qm5Z2yYJe64hv6YD8a6HSsierIHDQdYnXoQRz49GxAAH2sxait0yO9 ZUeGaF0FyBatLBDl6n1a/P3/+llnHgCBvxXKv6+pPlSy4FKwFTr83SRCN8wjRnq04RtyKz s8+TUbdMuYY2fKWt5I0iCxE1hkdI4Yj/skTVMqMN+fwcm7LCfv83Byp7rc8DWPOYRqCvC4 vnP+TXEAOIOJK7fWqpwEPDwxyAz6acCdMC3tfDhQw/YL8e2uWbYNEyL02usWr5LR4cTNzE X5I6GsmXdwK+pDE4Zn42WLaLDhUxesVH9Hmvt6LPtR0PbJHNNcWdkTE8hsV05Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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 AuthorDate: 2022-09-27 09:04:20 +0000 Commit: Vinícius Zavam 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} \