aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-01-05 13:46:26 -0500
committerBill Nottingham <notting@redhat.com>2010-01-05 13:46:59 -0500
commit6349fa878717cb24ae22722fe1c12ee971fcecfc (patch)
treeab065e6c022048554e8799505e2868205aa85ec6 /sysconfig/network-scripts
parent5cabfff3bda878337e8baa3a75ceae9ec75d72ce (diff)
downloadinitscripts-6349fa878717cb24ae22722fe1c12ee971fcecfc.tar
initscripts-6349fa878717cb24ae22722fe1c12ee971fcecfc.tar.gz
initscripts-6349fa878717cb24ae22722fe1c12ee971fcecfc.tar.bz2
initscripts-6349fa878717cb24ae22722fe1c12ee971fcecfc.tar.xz
initscripts-6349fa878717cb24ae22722fe1c12ee971fcecfc.zip
Move is_wireless after MACADDR/MTU setting, as it brings the link up.
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 30ee0073..35be659d 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 || {