diff options
author | Bill Nottingham <notting@redhat.com> | 2010-01-19 15:00:13 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-01-19 15:00:13 -0500 |
commit | ee20f9d85bb56b88306ac6da5471bc3a2291d2cc (patch) | |
tree | 3aa17f2b9de8dc80f2db8564861b9cb51d341cdd /sysconfig/network-scripts/ifup-eth | |
parent | 808c84e2e13402954f9a915ddf0eb350113bc572 (diff) | |
download | initscripts-ee20f9d85bb56b88306ac6da5471bc3a2291d2cc.tar initscripts-ee20f9d85bb56b88306ac6da5471bc3a2291d2cc.tar.gz initscripts-ee20f9d85bb56b88306ac6da5471bc3a2291d2cc.tar.bz2 initscripts-ee20f9d85bb56b88306ac6da5471bc3a2291d2cc.tar.xz initscripts-ee20f9d85bb56b88306ac6da5471bc3a2291d2cc.zip |
Don't leave the link down on link check for DHCP (#462013, #491009)
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index c0169192..17312863 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -192,7 +192,6 @@ if [ -n "${DYNCONFIG}" ] && [ -x /sbin/dhclient ]; then echo -n $"Determining IP information for ${DEVICE}..." if [[ "${PERSISTENT_DHCLIENT}" != [yY1]* ]] && check_link_down ${DEVICE}; then echo $" failed; no link present. Check cable?" - ip link set dev ${DEVICE} down >/dev/null 2>&1 exit 1 fi |