diff options
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-wds | 5 |
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 000000000..38bd69667 --- /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 +} + |