From 2e8e51060ffcc46bb1308d7eae4d2bc3456deacf Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 7 Nov 2005 01:12:51 +0000 Subject: add hotplug stuff to trunk/ SVN-Revision: 2364 --- openwrt/package/base-files/default/etc/hotplug.d/net/01-wds | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 openwrt/package/base-files/default/etc/hotplug.d/net/01-wds (limited to 'openwrt/package/base-files/default/etc/hotplug.d/net') diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/01-wds b/openwrt/package/base-files/default/etc/hotplug.d/net/01-wds new file mode 100644 index 0000000..38bd696 --- /dev/null +++ b/openwrt/package/base-files/default/etc/hotplug.d/net/01-wds @@ -0,0 +1,5 @@ +[ "${INTERFACE%%[0-9]*}" = "wds" ] && { + ifconfig $INTERFACE 0.0.0.0 up + /usr/sbin/brctl addif br0 $INTERFACE +} + -- cgit v1.1