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:31:46 +0100
commit81143a44c2f3b11a7a70a48d909e831c8cd3a79f (patch)
treed96bb074087d8aa64c4924c45682bdf0a8e86997
parent2de56366bf82d660cf8ec460769370085358d3da (diff)
downloadinitscripts-81143a44c2f3b11a7a70a48d909e831c8cd3a79f.tar
initscripts-81143a44c2f3b11a7a70a48d909e831c8cd3a79f.tar.gz
initscripts-81143a44c2f3b11a7a70a48d909e831c8cd3a79f.tar.bz2
initscripts-81143a44c2f3b11a7a70a48d909e831c8cd3a79f.tar.xz
initscripts-81143a44c2f3b11a7a70a48d909e831c8cd3a79f.zip
bridging: add possibility to set prio and ageing
-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 f1d149bb..29537607 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -56,6 +56,8 @@ if [ "${TYPE}" = "Bridge" ]; then
fi
[ -n "${DELAY}" ] && /usr/sbin/brctl setfd -- ${DEVICE} ${DELAY}
[ -n "${STP}" ] && /usr/sbin/brctl stp -- ${DEVICE} ${STP}
+ [ -n "${PRIO}" ] && /usr/sbin/brctl setbridgeprio ${DEVICE} ${PRIO}
+ [ -n "${AGEING}" ] && /usr/sbin/brctl setageing ${DEVICE} ${AGEING}
# add the bits to setup driver parameters here
for arg in $BRIDGING_OPTS ; do
key=${arg%%=*};