1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-06-30 23:32:01 +03:00

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:
mbm 2004-05-04 09:40:57 +00:00
parent e748d3881e
commit 83ad9f6c02

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
}