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 | 1e761ac341d90cb68203e7b6f7633bc3803c3ddc (patch) | |
| tree | 1090403575f82d2ad74cab6c5c030c95c56155de /root/sbin/hotplug | |
| parent | ff57602eaa346b4fd3428ffa8441b53024573822 (diff) | |
| download | upstream-1e761ac341d90cb68203e7b6f7633bc3803c3ddc.tar.gz upstream-1e761ac341d90cb68203e7b6f7633bc3803c3ddc.tar.bz2 upstream-1e761ac341d90cb68203e7b6f7633bc3803c3ddc.zip | |
yay! hotplug for wds support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root/sbin/hotplug')
| -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 00000000000..74134e848ac --- /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 +} |
