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

svn at pcbsd.org svn at pcbsd.org
Thu Jun 21 13:28:24 PDT 2007


Author: kris
Date: 2007-06-21 21:28:24 +0100 (Thu, 21 Jun 2007)
New Revision: 368

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh
Log:
Updates to the network configure script, should now not load iwi_enable
since its not necessary on 6.2, also fixed bug detecting adapters that
we're present




Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh	2007-06-21 20:05:06 UTC (rev 367)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NetConfig.sh	2007-06-21 20:28:24 UTC (rev 368)
@@ -49,19 +49,13 @@
 
 for i in $NIC; do
 
-   echo "${config}" | grep "${i}0"  >/dev/null 2>/dev/null
+   echo " ${config}" | grep " ${i}0"  >/dev/null 2>/dev/null
    if [ "$?" = "0" ]
    then
      echo "ifconfig_${i}0=\"DHCP\"" >> /mnt/etc/rc.conf
-
-     # Check if we have an intel wireless card present
-     if [ "${i}" = "iwi" ]
-     then
-       echo "iwi_enable=\"YES\"" >> /mnt/etc/rc.conf
-     fi
    fi
     
-   echo "${config}" | grep "${i}1"  >/dev/null 2>/dev/null
+   echo " ${config}" | grep " ${i}1"  >/dev/null 2>/dev/null
    if [ "$?" = "0" ]
    then
      echo "ifconfig_${i}1=\"DHCP\"" >> /mnt/etc/rc.conf



More information about the Commits mailing list