From 75f28ad9f1fab4372a024faba967d334ba148c8a Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 20 May 2008 20:34:46 -0400 Subject: Don't try to rename devices - udev rules are the way to go --- sysconfig/network-scripts/ifup-eth | 2 -- 1 file changed, 2 deletions(-) (limited to 'sysconfig/network-scripts/ifup-eth') diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index c5d03576..bf3ab9ea 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -48,10 +48,8 @@ if [ -n "${HWADDR}" ]; then if [ "${FOUNDMACADDR}" != "${HWADDR}" -a "${FOUNDMACADDR}" != "${MACADDR}" ]; then curdev=`get_device_by_hwaddr ${HWADDR}` if [ -n "$curdev" ]; then - rename_device "${REALDEVICE}" "${HWADDR}" "${curdev}" || { echo $"Device ${DEVICE} has different MAC address than expected, ignoring." exit 1 - } fi fi fi -- cgit v1.2.1