summaryrefslogtreecommitdiffstats
path: root/package/base-files/default/sbin/hotplug
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/default/sbin/hotplug')
-rwxr-xr-xpackage/base-files/default/sbin/hotplug6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/base-files/default/sbin/hotplug b/package/base-files/default/sbin/hotplug
new file mode 100755
index 000000000..74134e848
--- /dev/null
+++ b/package/base-files/default/sbin/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
+}