[PC-BSD Commits] r5488 - pcbsd/trunk/pc-sysinstall/backend-query

svn at pcbsd.org svn at pcbsd.org
Tue Dec 8 13:27:43 PST 2009


Author: kris
Date: 2009-12-08 13:27:43 -0800 (Tue, 08 Dec 2009)
New Revision: 5488

Modified:
   pcbsd/trunk/pc-sysinstall/backend-query/detect-nics.sh
Log:

Opps, fixed bug in detect nics



Modified: pcbsd/trunk/pc-sysinstall/backend-query/detect-nics.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend-query/detect-nics.sh	2009-12-08 20:54:27 UTC (rev 5487)
+++ pcbsd/trunk/pc-sysinstall/backend-query/detect-nics.sh	2009-12-08 21:27:43 UTC (rev 5488)
@@ -10,7 +10,7 @@
  echo "${i}" | grep -e "lo0" -e "^fwe" -e "^fwip" -e "lo1" -e "^plip" -e "^pfsync" -e "^pflog" -e "^tun" >/dev/null 2>/dev/null
  if [ "$?" != "0" ]
  then
-   IDENT="<`dmesg | grep ^${i} | grep -v "miibus" | grep '<' | cut -d '<' -f 2 | cut -d '>' -f 1`> | head -1"
+   IDENT="<`dmesg | grep ^${i} | grep -v "miibus" | grep '<' | cut -d '<' -f 2 | cut -d '>' -f 1 | head -1`>"
    echo "${i}: $IDENT"
  fi
 done



More information about the Commits mailing list