mirror of
https://github.com/opnsense/src.git
synced 2026-06-13 10:40:19 -04:00
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:
parent
6675bee81a
commit
33a5ef3587
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue