Openwrt/openwrt/target/default/target_skeleton/sbin/hotplug
Mike Baker 4745dbf6b6 openwrt root
SVN-Revision: 212
2005-02-06 00:58:10 +00:00

8 lines
190 B
Bash
Executable File

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