Bridging in sysconfig: Support for STP

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

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux