aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdinstall
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-08-01 19:49:42 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-08-01 19:49:42 +0000
commit72121342722ddc2f85ab92f6ae3b3e3888bebbfd (patch)
tree313defff9ad5adaedc5c5a808624010f12f4412c /usr.sbin/bsdinstall
parent4deb8929ea01a581258a31cc027c0d4177daaff8 (diff)
downloadsrc-72121342722ddc2f85ab92f6ae3b3e3888bebbfd.tar.gz
src-72121342722ddc2f85ab92f6ae3b3e3888bebbfd.zip
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. Reviewed by: allanjude PR: 211506 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D7387
Notes
Notes: svn path=/head/; revision=303631
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 7a3195e43fdd..197ba1e99e0d 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" \