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

svn at pcbsd.org svn at pcbsd.org
Mon Feb 1 07:19:59 PST 2010


Author: kris
Date: 2010-02-01 07:19:59 -0800 (Mon, 01 Feb 2010)
New Revision: 6138

Modified:
   pcbsd/trunk/pc-sysinstall/backend/functions-networking.sh
Log:

Fixed a bug setting up lagg0 device in pc-sysinstall, missing wifi device name in config



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-networking.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-networking.sh	2010-02-01 15:15:36 UTC (rev 6137)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-networking.sh	2010-02-01 15:19:59 UTC (rev 6138)
@@ -89,7 +89,9 @@
 enable_lagg_dhcp()
 {
   WIFINIC="$1"
-  get_first_wired_nic;
+  
+  # Get the first wired nic
+  get_first_wired_nic
   WIRENIC=$VAL
   LAGGPORT="laggport ${WIFINIC}"
 
@@ -118,7 +120,9 @@
   then
     while read line
     do
-      check_is_wifi ${NIC}
+      NIC="`echo $line | cut -d ':' -f 1`"
+      DESC="`echo $line | cut -d ':' -f 2`"
+      check_is_wifi "${NIC}"
       if [ "$?" = "0" ]
       then
         # We have a wifi device, lets do fancy lagg interface



More information about the Commits mailing list