[PC-BSD Commits] r2415 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Tue Jul 22 12:49:14 PDT 2008


Author: kris
Date: 2008-07-22 12:49:14 -0700 (Tue, 22 Jul 2008)
New Revision: 2415

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetDetect.sh
Log:

Updated the PCBSD.NetDetect script to find more cards, will be used in the
installer shortly



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetDetect.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetDetect.sh	2008-07-22 19:33:27 UTC (rev 2414)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetDetect.sh	2008-07-22 19:49:14 UTC (rev 2415)
@@ -3,12 +3,14 @@
 # Configuration file
 . /usr/local/pcbsd/scripts/PCBSD.Config
 
-rm /tmp/netCards
+rm /tmp/netCards 2>/dev/null
+touch /tmp/netCards
 
 config="`ifconfig -l`"
 
-NIC="de em ixgb txp vx bfe bge dc fxp lge nge pcn re rl sf sis sk ste ti tl tx vge vr wb xl cs ed ex ep et fe ie lnc sn xe an awi wi nve nfe msk iwi wpi"
 
+NIC="de em ixgb txp vx bfe bge dc fxp lge nge pcn re rl sf sis sk ste ti tl tx vge vr wb xl cs ed ex ep et fe ie lnc sn xe an nve nfe msk age"
+
 for i in $NIC; do
 
     echo "${config}" | grep "${i}0"  >/dev/null 2>/dev/null



More information about the Commits mailing list