aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-10-27 12:48:29 -0400
committerBill Nottingham <notting@redhat.com>2011-10-27 12:48:29 -0400
commitc3ec5b11d80923cc54d1553b394b596db28e2704 (patch)
tree66816c8bebe06988280ccfa9094ad42d8c1258b0 /sysconfig/network-scripts
parentc9c0db7046fee0d929e4949174a47c5b8930271c (diff)
downloadinitscripts-c3ec5b11d80923cc54d1553b394b596db28e2704.tar
initscripts-c3ec5b11d80923cc54d1553b394b596db28e2704.tar.gz
initscripts-c3ec5b11d80923cc54d1553b394b596db28e2704.tar.bz2
initscripts-c3ec5b11d80923cc54d1553b394b596db28e2704.tar.xz
initscripts-c3ec5b11d80923cc54d1553b394b596db28e2704.zip
Don't set primary before we enslave devices. (#747418, <agospoda@redhat.com>)
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 de6add11..5d2cff5c 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -133,7 +133,7 @@ if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then
if ! grep -q ${value#+} /sys/class/net/${DEVICE}/bonding/$key; then
echo "$value" > /sys/class/net/${DEVICE}/bonding/$key
fi
- else
+ elif [ "${key}" != "primary" ]; then
echo $value > /sys/class/net/${DEVICE}/bonding/$key
fi
done