aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-03 20:10:12 -0500
committerBill Nottingham <notting@redhat.com>2009-03-03 20:10:12 -0500
commit14c0e7d144b21255c23374286c2ab5b2a17cf195 (patch)
treeea4a663442e84698bc411510b94aeb7343f44e79 /sysconfig/network-scripts/ifup-eth
parente405ef2404e22b4584c897d9c9a17896bf9c51ae (diff)
downloadinitscripts-14c0e7d144b21255c23374286c2ab5b2a17cf195.tar
initscripts-14c0e7d144b21255c23374286c2ab5b2a17cf195.tar.gz
initscripts-14c0e7d144b21255c23374286c2ab5b2a17cf195.tar.bz2
initscripts-14c0e7d144b21255c23374286c2ab5b2a17cf195.tar.xz
initscripts-14c0e7d144b21255c23374286c2ab5b2a17cf195.zip
Remove more device renaming code.
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 22bc2f6c..fa755535 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -41,16 +41,12 @@ fi
# /sbin/modprobe ${REALDEVICE}
is_available ${REALDEVICE}
-# remap, if the device is bound with a MAC address and not the right device num
# bail out, if the MAC does not fit
if [ -n "${HWADDR}" ]; then
FOUNDMACADDR=`get_hwaddr ${REALDEVICE}`
if [ "${FOUNDMACADDR}" != "${HWADDR}" -a "${FOUNDMACADDR}" != "${MACADDR}" ]; then
- curdev=`get_device_by_hwaddr ${HWADDR}`
- if [ -n "$curdev" ]; then
echo $"Device ${DEVICE} has different MAC address than expected, ignoring."
exit 1
- fi
fi
fi