aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2003-09-05 20:18:54 +0000
committerBill Nottingham <notting@redhat.com>2003-09-05 20:18:54 +0000
commit297778421a427bdee4397819b623902a5eaa81b2 (patch)
tree08c2f1eeee76529df83b85c9c35ec810b4ba01c6 /rc.d/init.d
parent2db94baea1ccd3495f13b99bf39e303050d955e0 (diff)
downloadinitscripts-297778421a427bdee4397819b623902a5eaa81b2.tar
initscripts-297778421a427bdee4397819b623902a5eaa81b2.tar.gz
initscripts-297778421a427bdee4397819b623902a5eaa81b2.tar.bz2
initscripts-297778421a427bdee4397819b623902a5eaa81b2.tar.xz
initscripts-297778421a427bdee4397819b623902a5eaa81b2.zip
fix bonding+dhcp (#91399); bring bonding device links up, then bring up slaves, then bring up bonding interface fully
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-xrc.d/init.d/network6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index f31becec..fabf2ff4 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -103,6 +103,8 @@ case "$1" in
for i in $interfaces; do
eval $(LANG=C fgrep "DEVICE=" ifcfg-$i)
eval $(LANG=C fgrep "TYPE=" ifcfg-$i)
+ eval $(LANG=C fgrep "SLAVE=" ifcfg-$i)
+
if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi
if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then
@@ -114,6 +116,10 @@ case "$1" in
continue
fi
+ if [ "$SLAVE" = "yes" ]; then
+ continue
+ fi
+
if LANG=C egrep -L "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i > /dev/null ; then
# this loads the module, to preserve ordering
is_available $i