diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-05-04 09:40:57 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2004-05-04 09:40:57 +0000 |
commit | 83ad9f6c02a9bf92805b6cabcf47ee7082c26a9f (patch) | |
tree | 1090403575f82d2ad74cab6c5c030c95c56155de /root/sbin | |
parent | e748d3881e7368631d4052c0cc915927848e2a53 (diff) |
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')
-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 0000000000..74134e848a --- /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 +} |