r595 - x86/trunk/scripts

jhuntwork at linuxfromscratch.org jhuntwork at linuxfromscratch.org
Fri Aug 26 10:12:09 PDT 2005


Author: jhuntwork
Date: 2005-08-26 11:12:09 -0600 (Fri, 26 Aug 2005)
New Revision: 595

Modified:
   x86/trunk/scripts/net-setup
Log:
Fixed issue with net-setup incorrectly finding devices

Modified: x86/trunk/scripts/net-setup
===================================================================
--- x86/trunk/scripts/net-setup	2005-08-26 13:32:35 UTC (rev 594)
+++ x86/trunk/scripts/net-setup	2005-08-26 17:12:09 UTC (rev 595)
@@ -377,8 +377,9 @@
 	exit 1;
 fi
 
-for EDEV in "/sys/class/net/eth* /sys/class/net/wlan*" ; do
+for EDEV in /sys/class/net/eth* /sys/class/net/wlan* ; do
 	EDEV=`basename $EDEV`
+	if echo $EDEV | grep -q "*" ; then continue ; fi
 	if echo `/sbin/ip link show $EDEV 2> /dev/null` | grep -q UP ; then
 		EDEVSTATUS="UP"
 	else




More information about the livecd mailing list