svn commit: r338832 - head/usr.sbin/bsdinstall/scripts

Mark Johnston markj at FreeBSD.org
Thu Sep 20 16:37:51 UTC 2018


Author: markj
Date: Thu Sep 20 16:37:50 2018
New Revision: 338832
URL: https://svnweb.freebsd.org/changeset/base/338832

Log:
  Fix variable name typo in the bsdinstall ttys hardening code.
  
  Submitted by:	Jörg Pernfuß <code.jpe at gmail.com>
  Reviewed by:	allanjude, dab, emaste
  Approved by:	re (gjb)
  Differential Revision:	https://reviews.freebsd.org/D12476

Modified:
  head/usr.sbin/bsdinstall/scripts/config

Modified: head/usr.sbin/bsdinstall/scripts/config
==============================================================================
--- head/usr.sbin/bsdinstall/scripts/config	Thu Sep 20 15:45:53 2018	(r338831)
+++ head/usr.sbin/bsdinstall/scripts/config	Thu Sep 20 16:37:50 2018	(r338832)
@@ -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


More information about the svn-src-head mailing list