Author: dnicholson
Date: 2006-10-01 12:07:56 -0600 (Sun, 01 Oct 2006)
New Revision: 6327

Modified:
   trunk/bootscripts/blfs/sysconfig/network-devices/services/dhcpcd
Log:
Revert part of previous commit as it still needs testing


Modified: trunk/bootscripts/blfs/sysconfig/network-devices/services/dhcpcd
===================================================================
--- trunk/bootscripts/blfs/sysconfig/network-devices/services/dhcpcd    
2006-10-01 18:04:35 UTC (rev 6326)
+++ trunk/bootscripts/blfs/sysconfig/network-devices/services/dhcpcd    
2006-10-01 18:07:56 UTC (rev 6327)
@@ -4,7 +4,6 @@
 # Based upon lfs-bootscripts-1.12 $network_devices/if{down,up}
 # Rewritten by Nathan Coulson <[EMAIL PROTECTED]>
 # Adapted for dhcpcd by DJ Lucas <[EMAIL PROTECTED]>
-# Modified by Brian Weber to handle an absent carrier on an interface.
 
 #$LastChangedBy$
 #$Date$
@@ -18,13 +17,6 @@
 
 case "$2" in
        up)
-               # Abort startup and issue a warning if interface lacks a carrier
-               if [ "`/sbin/ip link show $1 2>/dev/null | grep NO-CARRIER`" ]
-               then
-                       boot_mesg "$1 lacks carrier. Skipping dhcp setup." 
${WARNING}
-                       echo_warning
-                       exit 0
-               fi
                boot_mesg -n "Starting dhcpcd on the $1 interface..."
                # Test to see if there is a stale pid file
                if [ -f "$PIDFILE" ]

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

Reply via email to