Author: arekm
Date: Sat Sep  9 21:13:30 2006
New Revision: 7745

Modified:
   rc-scripts/trunk/sysconfig/network-scripts/ifdown
Log:
Allow to kill dhcp/wpa_supplicant daemon even if device disappears/is down due 
to some reasons.

Modified: rc-scripts/trunk/sysconfig/network-scripts/ifdown
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/ifdown   (original)
+++ rc-scripts/trunk/sysconfig/network-scripts/ifdown   Sat Sep  9 21:13:30 2006
@@ -59,9 +59,6 @@
        fi
 fi
 
-# Check to make sure the device is actually up
-check_device_down && exit 0
-
 if [ "$BOOTPROTO" = "bootp" -o "$BOOTPROTO" = "pump" ]; then
        /sbin/pump -r -i ${DEVICE}
        RESULT=$?
@@ -96,6 +93,9 @@
        fi
 fi
 
+# Check to make sure the device is actually up
+check_device_down && exit 0
+
 vlan_setup
 if is_yes $ETH_VLANS && `echo $DEVICE | grep -q ^eth` ; then
        if echo "${DEVICE}" | grep -q '\.' ; then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to