Fix variable name typo in the bsdinstall ttys hardening code.

Submitted by:	Jörg Pernfuß <code.jpe@gmail.com>
Reviewed by:	allanjude, dab, emaste
Approved by:	re (gjb)
Differential Revision:	https://reviews.freebsd.org/D12476
This commit is contained in:
Mark Johnston 2018-09-20 16:37:50 +00:00
parent 6675bee81a
commit 33a5ef3587

View File

@ -35,9 +35,9 @@ rm $BSDINSTALL_TMPETC/rc.conf.*
cat $BSDINSTALL_CHROOT/etc/sysctl.conf $BSDINSTALL_TMPETC/sysctl.conf.* >> $BSDINSTALL_TMPETC/sysctl.conf
rm $BSDINSTALL_TMPETC/sysctl.conf.*
if [ -f $BSDINSTALL_TMPTEC/ttys.hardening ]; then
cat $BSDINSTALL_TMPTEC/ttys.hardening > $BSDINSTALL_TMPTEC/ttys
rm $BSDINSTALL_TMPTEC/ttys.hardening
if [ -f $BSDINSTALL_TMPETC/ttys.hardening ]; then
cat $BSDINSTALL_TMPETC/ttys.hardening > $BSDINSTALL_TMPETC/ttys
rm $BSDINSTALL_TMPETC/ttys.hardening
fi
cp $BSDINSTALL_TMPETC/* $BSDINSTALL_CHROOT/etc