1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-13 11:53:09 +02:00
openwrt-xburst/target/default/target_skeleton/sbin/hotplug

8 lines
190 B
Plaintext
Raw Normal View History

#!/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
}