diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2011-01-08 23:03:24 +0000 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2011-01-08 23:03:24 +0000 |
commit | 3e182d58727c93f8d8e004eaa52b10668766d806 (patch) | |
tree | 3ca6c9a77ef5df601b157a872407dbbc829146de | |
parent | 25806c21fcd1d1d301dfc2a264917347f39eada4 (diff) | |
download | FreeBSD-src-3e182d58727c93f8d8e004eaa52b10668766d806.zip FreeBSD-src-3e182d58727c93f8d8e004eaa52b10668766d806.tar.gz |
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
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend-query/send-logs.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pc-sysinstall/backend-query/send-logs.sh b/usr.sbin/pc-sysinstall/backend-query/send-logs.sh index be2252d..b81087c 100755 --- a/usr.sbin/pc-sysinstall/backend-query/send-logs.sh +++ b/usr.sbin/pc-sysinstall/backend-query/send-logs.sh @@ -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} |