Author: justin
Date: 2005-07-22 22:34:59 -0600 (Fri, 22 Jul 2005)
New Revision: 395

Modified:
   x86/trunk/scripts/net-setup
Log:
Correct a little bug in net-setup.  Will work on making it more robust/with 
dialog soon.

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

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to