yay! hotplug for wds support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Mike Baker
2004-05-04 09:40:57 +00:00
parent ff57602eaa
commit 1e761ac341

6
root/sbin/hotplug Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/ash
# $Id$
[ "${INTERFACE%%[0-9]*}" = "wds" ] && {
ifconfig $INTERFACE 0.0.0.0 up
/usr/sbin/brctl addif br0 $INTERFACE
}