summaryrefslogtreecommitdiff
path: root/package/base-files/default/etc/hotplug.d/net/01-wds
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/etc/hotplug.d/net/01-wds')
-rw-r--r--package/base-files/default/etc/hotplug.d/net/01-wds5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/base-files/default/etc/hotplug.d/net/01-wds b/package/base-files/default/etc/hotplug.d/net/01-wds
new file mode 100644
index 0000000000..38bd69667f
--- /dev/null
+++ b/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
+}
+