openwrtv4/openwrt/target/default/target_skeleton/sbin/hotplug
Mike Baker 53b3af1889 nas -> nas4not
SVN-Revision: 548
2005-04-03 21:11:05 +00:00

7 lines
198 B
Bash
Executable file

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