diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2014-03-19 13:31:46 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2014-07-24 13:45:46 +0200 |
commit | 2a4bb8e267996666a768dc5d99b2ce68f53fa0ff (patch) | |
tree | d0cfb76c7dd409f4737c4b68501fe015d5604c47 /sysconfig/network-scripts | |
parent | 812e5b0afff866ae8d9c2799677ec5c1da7a65c1 (diff) | |
download | initscripts-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
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 2 |
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%%=*}; |