[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Bridging in sysconfig: Support for STP



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]