Take passwords out of debug log.

Fix path problem that was preventing disk info from being in the log.

PR:	bin/151968
Submitted by:	Kris Moore <kmoore@FreeBSD.org>
Approved by:	imp
This commit is contained in:
Josh Paetzel 2011-01-08 23:03:24 +00:00
parent 02edd492b4
commit e0b71bf2a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217173

View File

@ -50,7 +50,7 @@ if [ -e "/tmp/sys-install.cfg" ]
then
echo "" >>${TMPLOG}
echo "# PC-SYSINSTALL CFG " >>${TMPLOG}
cat /tmp/sys-install.cfg >> ${TMPLOG}
cat /tmp/sys-install.cfg | grep -vE 'rootPass|userPass' >> ${TMPLOG}
fi
# Save dmesg output
@ -59,7 +59,7 @@ echo "# DMESG OUTPUT " >>${TMPLOG}
dmesg >> ${TMPLOG}
# Get gpart info on all disks
for i in `${PROGDIR}/pc-sysinstall disk-list | cut -d ':' -f 1`
for i in `pc-sysinstall disk-list | cut -d ':' -f 1`
do
echo "" >>${TMPLOG}
echo "# DISK INFO $i " >>${TMPLOG}