add hotplug stuff to trunk/
[openwrt/svn-archive/archive.git] / openwrt / package / base-files / default / etc / hotplug.d / net / 01-wds
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/01-wds b/openwrt/package/base-files/default/etc/hotplug.d/net/01-wds
new file mode 100644 (file)
index 0000000..38bd696
--- /dev/null
@@ -0,0 +1,5 @@
+[ "${INTERFACE%%[0-9]*}" = "wds" ] && { 
+       ifconfig $INTERFACE 0.0.0.0 up
+       /usr/sbin/brctl addif br0 $INTERFACE
+}
+