openwrtv3/openwrt/package/base-files/files/hotplug
2005-08-27 15:40:56 +00:00

6 lines
131 B
Bash
Executable file

#!/bin/ash
# $Id$
[ "${INTERFACE%%[0-9]*}" = "wds" ] && {
ifconfig $INTERFACE 0.0.0.0 up
/usr/sbin/brctl addif br0 $INTERFACE
}