Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2018 16:37:50 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338832 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <201809201637.w8KGbosU007222@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809201637.w8KGbosU007222>