Bridging in sysconfig: Support for STP
Nuno Tavares
nunotavares at hotmail.com
Sat May 15 04:05:30 UTC 2004
This only applies to fedora core 1. This patch applies to
/etc/sysconfig/network-scripts/ifup. After patching, you just add "STP=on"
on your /etc/sysconfig/network-scripts/ifcfg-* files.
--- ifup-orig 2004-05-07 19:56:47.000000000 +0100
+++ ifup 2004-05-07 20:07:25.000000000 +0100
@@ -171,6 +171,7 @@
fi
[ -n "${DELAY}" ] && /usr/sbin/brctl setfd ${DEVICE} ${DELAY}
[ -n "${GCINT}" ] && /usr/sbin/brctl setgcint ${DEVICE} ${GCINT}
+ [ "${STP}" = "on" ] && /usr/sbin/brctl stp ${DEVICE} on
fi
if [ -n "${BRIDGE}" -a -x /usr/sbin/brctl ]; then
-
Nuno Tavares
More information about the fedora-list
mailing list