diff options
author | Mike Baker <mbm@openwrt.org> | 2004-05-04 09:40:57 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2004-05-04 09:40:57 +0000 |
commit | 69a92ec0906ba3e06315dca79d75ec679f9ea1a4 (patch) | |
tree | 1090403575f82d2ad74cab6c5c030c95c56155de /root | |
parent | 97f95ea18a11e22c07ab1391db0df16b815685f1 (diff) | |
download | mtk-20170518-69a92ec0906ba3e06315dca79d75ec679f9ea1a4.zip mtk-20170518-69a92ec0906ba3e06315dca79d75ec679f9ea1a4.tar.gz mtk-20170518-69a92ec0906ba3e06315dca79d75ec679f9ea1a4.tar.bz2 |
yay! hotplug for wds support
SVN-Revision: 16
Diffstat (limited to 'root')
-rwxr-xr-x | root/sbin/hotplug | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/root/sbin/hotplug b/root/sbin/hotplug new file mode 100755 index 0000000..74134e8 --- /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 +} |