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:
parent
02edd492b4
commit
e0b71bf2a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217173
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user