Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jan 2011 23:03:25 +0000 (UTC)
From:      Josh Paetzel <jpaetzel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217173 - head/usr.sbin/pc-sysinstall/backend-query
Message-ID:  <201101082303.p08N3PQU019026@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jpaetzel (ports committer)
Date: Sat Jan  8 23:03:24 2011
New Revision: 217173
URL: http://svn.freebsd.org/changeset/base/217173

Log:
  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

Modified:
  head/usr.sbin/pc-sysinstall/backend-query/send-logs.sh

Modified: head/usr.sbin/pc-sysinstall/backend-query/send-logs.sh
==============================================================================
--- head/usr.sbin/pc-sysinstall/backend-query/send-logs.sh	Sat Jan  8 23:00:38 2011	(r217172)
+++ head/usr.sbin/pc-sysinstall/backend-query/send-logs.sh	Sat Jan  8 23:03:24 2011	(r217173)
@@ -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}



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