1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00
openwrt/root/sbin/hotplug
Mike Baker 69a92ec090 yay! hotplug for wds support
SVN-Revision: 16
2004-05-04 09:40:57 +00:00

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