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:12 +0200 |
commit | c1792f8834956d416dd35f98172bbf397d0ead4b (patch) | |
tree | f730b30d8e8bbb6b9e96d0d3da16867315a4cf82 /sysconfig/network-scripts | |
parent | 5ec9d2bedc5e2bd92acabd86463b330f32247f5a (diff) | |
download | initscripts-c1792f8834956d416dd35f98172bbf397d0ead4b.tar initscripts-c1792f8834956d416dd35f98172bbf397d0ead4b.tar.gz initscripts-c1792f8834956d416dd35f98172bbf397d0ead4b.tar.bz2 initscripts-c1792f8834956d416dd35f98172bbf397d0ead4b.tar.xz initscripts-c1792f8834956d416dd35f98172bbf397d0ead4b.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 76377a7b..3638a6ee 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 |