Openwrt/openwrt/target/default/target_skeleton/sbin/hotplug

8 lines
198 B
Plaintext
Raw Normal View History

2005-02-06 00:58:10 +00:00
#!/bin/ash
# $Id$
[ "${INTERFACE%%[0-9]*}" = "wds" ] && {
2005-04-03 21:11:05 +00:00
[ -x "/usr/sbin/nas4not" ] && /usr/sbin/nas4not lan $INTERFACE up
2005-02-06 00:58:10 +00:00
ifconfig $INTERFACE 0.0.0.0 up
/usr/sbin/brctl addif br0 $INTERFACE
}