freebsd-src/usr.sbin/bsdinstall/scripts
Jessica Clarke 1843da3edb bsdinstall: Fix ntpd_sync_on_start service option
This installer option is currently totally useless, as it ends up
creating an ntpd_sync_on_start_enable="YES" entry in rc.conf, not an
ntpd_sync_on_start="YES" entry, as is the correct name. This can also be
noticed by revisiting the services menu, which parses the previously
written rc.conf.services file to set variables governing the default
menu entry values so that selecting OK regenerates the same file, as the
menu entry will use the correct variable name and thus think the entry
was not selected last time, defaulting back to off and losing the
setting.

Thus, add a special case in the loop for this option. The only other
entry that doesn't follow the *_enable pattern is dumpdev (even moused
does, it just also sets a second variable), but that also deviates in
terms of being explicitly set either way and using AUTO rather than YES,
hence why ntpd_sync_on_start follows a different pattern here and is
special-cased rather than introducing a whole new variable that governs
behaviour outside the loop.

Fixes:	c153a35bfd ("bsdinstall: replace ntpdate by ntpd_sync_on_start")
2022-11-29 03:33:47 +00:00
..
adduser bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
auto bsdinstall: add hooks to allow for easier customizing the install 2022-10-03 09:50:42 -06:00
bootconfig Capitalize title like in all other titles. 2022-09-14 13:42:43 +02:00
checksum bsdinstall: fix a couple stragglers in whitelabeling the scripts 2022-09-14 11:06:11 -06:00
config Revert r361257: bsdinstall: do a certctl rehash upon installation [...] 2020-09-17 20:35:45 +00:00
docsinstall bsdinstall/scripts/docsinstall: Add Indonesian Documentation 2022-06-06 13:44:43 +02:00
entropy
fetchmissingdists bsdinstall: use the correct DISTDIR for fetching local distfiles 2022-10-14 00:22:09 -05:00
hardening bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
hostname bsdinstall(8) hostname: Update for bsddialog 0.3 2022-09-03 22:15:12 +02:00
jail bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
keymap bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
Makefile bsdinstall: break list of scripts out to one per line to make adding/removing entries easier 2022-05-24 09:30:31 -06:00
Makefile.depend
mirrorselect bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
mount bsdinstall: allow an install script to access packages on the DVD 2022-06-13 13:27:51 -06:00
netconfig bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
netconfig_ipv4 bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
netconfig_ipv6 bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
rootpass bsdinstall: allow setting the root password via env variables 2022-08-05 09:10:21 -06:00
script bsdinstall/script: umount before zpool export 2022-05-03 16:02:39 +02:00
services bsdinstall: Fix ntpd_sync_on_start service option 2022-11-29 03:33:47 +00:00
time bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
umount bsdinstall: allow an install script to access packages on the DVD 2022-06-13 13:27:51 -06:00
wlanconfig bsdinstall: allow whitelabeling the scripts 2022-05-24 09:49:06 -06:00
zfsboot bsdinstall: improve zfsboots ability to handle datasets under a BE 2022-06-23 09:21:08 -06:00