aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-04-02 16:42:52 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-04-02 16:52:08 +0200
commitf91120eea58aefd215b05e89b521da6e6a89a1d5 (patch)
tree70bf7900c69155915dea1cad550adaef62d0f6fb /sysconfig/network-scripts
parent88d725dff56d7244621f1ba1561ede8142d24400 (diff)
downloadinitscripts-f91120eea58aefd215b05e89b521da6e6a89a1d5.tar
initscripts-f91120eea58aefd215b05e89b521da6e6a89a1d5.tar.gz
initscripts-f91120eea58aefd215b05e89b521da6e6a89a1d5.tar.bz2
initscripts-f91120eea58aefd215b05e89b521da6e6a89a1d5.tar.xz
initscripts-f91120eea58aefd215b05e89b521da6e6a89a1d5.zip
bonding: set master up before slaves
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 56169eca..1c3b6a31 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -114,12 +114,12 @@ fi
# so it can actually get an IP.
if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then
install_bonding_driver ${DEVICE}
+ /sbin/ip link set dev ${DEVICE} up
for device in $(LANG=C grep -l "^[[:space:]]*MASTER=\"\?${DEVICE}\"\?\([[:space:]#]\|$\)" /etc/sysconfig/network-scripts/ifcfg-*) ; do
is_ignored_file "$device" && continue
/sbin/ifup ${device##*/}
done
- /sbin/ip link set dev ${DEVICE} up
[ -n "${LINKDELAY}" ] && /bin/sleep ${LINKDELAY}
# add the bits to setup the needed post enslavement parameters