aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-03-19 13:31:46 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-03-19 13:35:58 +0100
commit96fc70a02c3dace842ba23853096f4093fa806bd (patch)
tree2e4a7bd366a808694aed600be0d719b9a9bc2d6e
parent57d2147d3956a4a5d0a11a82a561e8e34c963ffd (diff)
downloadinitscripts-96fc70a02c3dace842ba23853096f4093fa806bd.tar
initscripts-96fc70a02c3dace842ba23853096f4093fa806bd.tar.gz
initscripts-96fc70a02c3dace842ba23853096f4093fa806bd.tar.bz2
initscripts-96fc70a02c3dace842ba23853096f4093fa806bd.tar.xz
initscripts-96fc70a02c3dace842ba23853096f4093fa806bd.zip
bridging: add possibility to set prio and ageing
Conflicts: sysconfig/network-scripts/ifup-eth
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index 2d2c5267..f4306547 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -70,6 +70,8 @@ if [ "${TYPE}" = "Bridge" ]; then
[ -n "${DELAY}" ] && /usr/sbin/brctl setfd ${DEVICE} ${DELAY}
[ -n "${GCINT}" ] && /usr/sbin/brctl setgcint ${DEVICE} ${GCINT}
[ -n "${STP}" ] && /usr/sbin/brctl stp ${DEVICE} ${STP}
+ [ -n "${PRIO}" ] && /usr/sbin/brctl setbridgeprio ${DEVICE} ${PRIO}
+ [ -n "${AGEING}" ] && /usr/sbin/brctl setageing ${DEVICE} ${AGEING}
fi
# now check the real state