diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2015-09-16 13:49:12 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2015-09-16 13:49:25 +0200 |
commit | 0ed79af945f2a12178c4b9280d11d5a571796c75 (patch) | |
tree | b91041009cc87979ad2c4a6e10ea3513b0f2b70f /sysconfig/network-scripts | |
parent | a018641159b7d0a2938cc56baadc163e2775601e (diff) | |
download | initscripts-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/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 4 |
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 |