1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-06 05:00:38 +02:00
openwrt-xburst/target/default/target_skeleton/sbin/hotplug
mbm 8224e2af0b nas -> nas4not
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-04-03 21:11:05 +00:00

8 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
}