summaryrefslogtreecommitdiff
path: root/obsolete-buildroot/sources/openwrt/root/sbin/hotplug
blob: 335ee8f889417b8867fcdcc695e2397c7f938360 (plain)
1
2
3
4
5
6
7
#!/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
}