Openwrt/obsolete-buildroot/sources/openwrt/root/sbin/hotplug

8 lines
190 B
Plaintext
Raw Normal View History

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