summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2016-08-04 17:26:32 +0000
committerdim <dim@FreeBSD.org>2016-08-04 17:26:32 +0000
commitf758933c3d37a2445ee36cf0e7643e306b4eb0f4 (patch)
treecf0b48715d3bd989bb1c6ea342d1e168eb7e1829 /usr.sbin/bsdinstall
parenta701f61e31007a3b9ef2207d936854e736ff2861 (diff)
downloadFreeBSD-src-f758933c3d37a2445ee36cf0e7643e306b4eb0f4.zip
FreeBSD-src-f758933c3d37a2445ee36cf0e7643e306b4eb0f4.tar.gz
MFC r303631:
Fix non-functional bsdinstall services dialog. The most recent version of bsdinstall does not seem to respect any of the checkboxes in the "Choose the services you would like to be started at boot" dialog. None of the chosen services end up in the rc.conf file that is installed onto the target system. This is caused by the bsdinstall/scripts/hardening script, which implements the new hardening options dialog. The script starts by overwriting the previously written rc.conf.services file: echo -n > $BSDINSTALL_TMPETC/rc.conf.services which is obviously incorrect. It should clear out rc.conf.hardening instead. Approved by: re (kib) Reviewed by: allanjude PR: 211506 Differential Revision: https://reviews.freebsd.org/D7387
Diffstat (limited to 'usr.sbin/bsdinstall')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/hardening2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/hardening b/usr.sbin/bsdinstall/scripts/hardening
index 7a3195e..197ba1e 100755
--- a/usr.sbin/bsdinstall/scripts/hardening
+++ b/usr.sbin/bsdinstall/scripts/hardening
@@ -28,7 +28,7 @@
: ${DIALOG_OK=0}
-echo -n > $BSDINSTALL_TMPETC/rc.conf.services
+echo -n > $BSDINSTALL_TMPETC/rc.conf.hardening
exec 3>&1
FEATURES=$( dialog --backtitle "FreeBSD Installer" \
OpenPOWER on IntegriCloud