r396 - x86/trunk/scripts

justin at linuxfromscratch.org justin at linuxfromscratch.org
Sat Jul 23 13:25:12 PDT 2005


Author: justin
Date: 2005-07-23 14:25:09 -0600 (Sat, 23 Jul 2005)
New Revision: 396

Modified:
   x86/trunk/scripts/net-setup
Log:
Reference linktest variable in net-setup.

Modified: x86/trunk/scripts/net-setup
===================================================================
--- x86/trunk/scripts/net-setup	2005-07-23 04:34:59 UTC (rev 395)
+++ x86/trunk/scripts/net-setup	2005-07-23 20:25:09 UTC (rev 396)
@@ -125,7 +125,7 @@
 
 		# Test if dhcp worked and did not set DNS.
 		# If so run set_dns function.
-		if echo `ip link show eth0 2>/dev/null` | grep -q UP ; then			
+		if echo $LINKTEST | grep -q UP ; then			
 			if [ ! -f /etc/resolv.conf ] ; then
 				echo "DHCP did not configure DNS."
 				set_dns;




More information about the livecd mailing list