From 8a9bb8cc2543a4568ee2a9f240edd090ff932bbd Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 5 Jan 2010 13:46:26 -0500 Subject: Move is_wireless after MACADDR/MTU setting, as it brings the link up. --- sysconfig/network-scripts/ifup-eth | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index fac5f0e4..1fa871db 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -83,8 +83,6 @@ is_available ${REALDEVICE} || { exit 1 } -# is the device wireless? If so, configure wireless device specifics -is_wireless_device ${DEVICE} && . ./ifup-wireless # this isn't the same as the MAC in the configuration filename. It is # available as a configuration option in the config file, forcing the kernel @@ -96,6 +94,9 @@ if [ -n "${MTU}" ]; then ip link set dev ${DEVICE} mtu ${MTU} fi +# is the device wireless? If so, configure wireless device specifics +is_wireless_device ${DEVICE} && . ./ifup-wireless + # slave device? if [ "${SLAVE}" = yes -a "${ISALIAS}" = no -a "${MASTER}" != "" ]; then grep -wq "${DEVICE}" /sys/class/net/${MASTER}/bonding/slaves || { -- cgit v1.2.1