openwrtv4/openwrt/package/base-files/files/hotplug

7 lines
131 B
Text
Raw Normal View History

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