summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/sbin/hotplug
blob: b16f9f784a12a03137de1bb40fc80e5cf32ba409 (plain)
1
2
3
4
5
6
7
#!/bin/ash
# $Id$
[ "${INTERFACE%%[0-9]*}" = "wds" ] && { 
	[ -x "/usr/sbin/nas4not" ] && /usr/sbin/nas4not lan $INTERFACE up
	ifconfig $INTERFACE 0.0.0.0 up
	/usr/sbin/brctl addif br0 $INTERFACE
}