summaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-eth
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-05-20 20:34:46 -0400
committerBill Nottingham <notting@redhat.com>2008-05-20 20:34:46 -0400
commit82667229b118eaf799cd29739d5dd5a84cafe23b (patch)
tree60f0b6a37fca1bc0c139c533cd4756a5f3a7329d /sysconfig/network-scripts/ifup-eth
parent59f3fca22e03780771fd5d6b17a25f2b93e3736a (diff)
Don't try to rename devices - udev rules are the way to go
Diffstat (limited to 'sysconfig/network-scripts/ifup-eth')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 0 insertions, 2 deletions
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