Commit e98e1bb2 authored by Ryan Jackson's avatar Ryan Jackson

Fix for nodes with atheros wifi cards: don't try to get a lease on wmaster* interfaces

parent ef81f7ad
......@@ -122,7 +122,7 @@ fi
#
# else default to dhclient...
#
interfaces=`ifconfig -a -s | sed '1d;/^lo /d;s/ .*$//'`
interfaces=`ifconfig -a -s | sed '1d;/^lo /d;/^wmaster/d;s/ .*$//'`
#
# If dhclient returns success, then it has configured the first interface
......
......@@ -26,7 +26,7 @@ IFACETYPES="3c59x eepro100 e1000 r8169 tulip"
#
modprobe -qa $IFACETYPES
interfaces=`ifconfig -a -s | sed '1d;/^lo /d;s/ .*$//'`
interfaces=`ifconfig -a -s | sed '1d;/^lo /d;/^wmaster/d;s/ .*$//'`
#
# If dhclient returns success, then it has configured the first interface
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment