aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2015-09-16 13:49:12 +0200
committerLukas Nykryn <lnykryn@redhat.com>2015-09-16 13:49:25 +0200
commit0ed79af945f2a12178c4b9280d11d5a571796c75 (patch)
treeb91041009cc87979ad2c4a6e10ea3513b0f2b70f /sysconfig
parenta018641159b7d0a2938cc56baadc163e2775601e (diff)
downloadinitscripts-0ed79af945f2a12178c4b9280d11d5a571796c75.tar
initscripts-0ed79af945f2a12178c4b9280d11d5a571796c75.tar.gz
initscripts-0ed79af945f2a12178c4b9280d11d5a571796c75.tar.bz2
initscripts-0ed79af945f2a12178c4b9280d11d5a571796c75.tar.xz
initscripts-0ed79af945f2a12178c4b9280d11d5a571796c75.zip
ifup-eth: some bridge options are applied later
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup-eth4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index bae388c8..c44c2aee 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -62,7 +62,9 @@ if [ "${TYPE}" = "Bridge" ]; then
for arg in $BRIDGING_OPTS ; do
key=${arg%%=*};
value=${arg##*=};
- echo $value > /sys/class/net/${DEVICE}/bridge/$key
+ if [ "${key}" != "multicast_router" -a "${key}" != "hash_max" -a "${key}" != "multicast_snooping" ]; then
+ echo $value > /sys/class/net/${DEVICE}/bridge/$key
+ fi
done
# set LINKDELAY (used as timeout when calling check_link_down())
# to at least (${DELAY} * 2) + 7 if STP is enabled. This is the