aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-03-19 13:31:46 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-07-24 13:45:46 +0200
commit2a4bb8e267996666a768dc5d99b2ce68f53fa0ff (patch)
treed0cfb76c7dd409f4737c4b68501fe015d5604c47
parent812e5b0afff866ae8d9c2799677ec5c1da7a65c1 (diff)
downloadinitscripts-2a4bb8e267996666a768dc5d99b2ce68f53fa0ff.tar
initscripts-2a4bb8e267996666a768dc5d99b2ce68f53fa0ff.tar.gz
initscripts-2a4bb8e267996666a768dc5d99b2ce68f53fa0ff.tar.bz2
initscripts-2a4bb8e267996666a768dc5d99b2ce68f53fa0ff.tar.xz
initscripts-2a4bb8e267996666a768dc5d99b2ce68f53fa0ff.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 9d413374..fc9293b1 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%%=*};