From 14c0e7d144b21255c23374286c2ab5b2a17cf195 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 3 Mar 2009 20:10:12 -0500 Subject: Remove more device renaming code. --- sysconfig/network-scripts/ifup-eth | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sysconfig/network-scripts') 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 -- cgit v1.2.1