diff options
Diffstat (limited to 'openwrt/package/base-files/files/hotplug')
-rwxr-xr-x | openwrt/package/base-files/files/hotplug | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openwrt/package/base-files/files/hotplug b/openwrt/package/base-files/files/hotplug new file mode 100755 index 0000000..74134e8 --- /dev/null +++ b/openwrt/package/base-files/files/hotplug @@ -0,0 +1,6 @@ +#!/bin/ash +# $Id$ +[ "${INTERFACE%%[0-9]*}" = "wds" ] && { + ifconfig $INTERFACE 0.0.0.0 up + /usr/sbin/brctl addif br0 $INTERFACE +} |