--- /dev/null
+#!/bin/sh
+########################################################################
+# Begin $NETWORK_DEVICES/services/stp
+#
+# Description : Spanning Tree Protocol Script
+#
+# Authors : Michael Tremer - michael.tremer@ipfire.org
+#
+# Version : 00.00
+#
+# Notes : This script adds stp support to a bridge.
+#
+########################################################################
+
+. /lib/lsb/init-functions
+. ${IFCONFIG}
+
+case "${2}" in
+ up)
+ MESSAGE="Enabling Spanning Tree Protocol on interface ${1}..."
+ brctl stp ${1} on
+ evaluate_retval
+ ;;
+
+ down)
+ MESSAGE="Disabling Spanning Tree Protocol on interface ${1}..."
+ brctl stp ${1} off
+ evaluate_retval
+ ;;
+
+ *)
+ echo "Usage: ${0} [interface] {up|down}"
+ exit 1
+ ;;
+esac
+
+# End $NETWORK_DEVICES/services/stp
etc/init.d/networking/services/bridge-slave
etc/init.d/networking/services/ipv4-static
etc/init.d/networking/services/ipv4-static-route
+etc/init.d/networking/services/stp
etc/init.d/ntpd
etc/init.d/openldap
etc/init.d/random