From 83ad9f6c02a9bf92805b6cabcf47ee7082c26a9f Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 4 May 2004 09:40:57 +0000 Subject: yay! hotplug for wds support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- root/sbin/hotplug | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 root/sbin/hotplug (limited to 'root/sbin/hotplug') diff --git a/root/sbin/hotplug b/root/sbin/hotplug new file mode 100755 index 000000000..74134e848 --- /dev/null +++ b/root/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 +} -- cgit v1.2.3