yay! hotplug for wds support
authorMike Baker <mbm@openwrt.org>
Tue, 4 May 2004 09:40:57 +0000 (09:40 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 4 May 2004 09:40:57 +0000 (09:40 +0000)
SVN-Revision: 16

root/sbin/hotplug [new file with mode: 0755]

diff --git a/root/sbin/hotplug b/root/sbin/hotplug
new file mode 100755 (executable)
index 0000000..74134e8
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/ash
+# $Id$
+[ "${INTERFACE%%[0-9]*}" = "wds" ] && { 
+       ifconfig $INTERFACE 0.0.0.0 up
+       /usr/sbin/brctl addif br0 $INTERFACE
+}