1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 04:06:47 +02:00
openwrt-xburst/obsolete-buildroot/sources/openwrt/root/sbin/hotplug
mbm b46fe1c707 sstrip, nas support, mppe support, mac os x patches, syslogd on bootup, inittab correction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2004-08-17 23:00:52 +00:00

8 lines
190 B
Bash
Executable File

#!/bin/ash
# $Id$
[ "${INTERFACE%%[0-9]*}" = "wds" ] && {
[ -x "/usr/sbin/nas" ] && /usr/sbin/nas lan $INTERFACE up
ifconfig $INTERFACE 0.0.0.0 up
/usr/sbin/brctl addif br0 $INTERFACE
}