projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add hotplug stuff to trunk/
[openwrt/svn-archive/archive.git]
/
openwrt
/
package
/
base-files
/
default
/
etc
/
hotplug.d
/
net
/
01-wds
diff --git a/openwrt/package/base-files/default/etc/hotplug.d/net/01-wds
b/openwrt/package/base-files/default/etc/hotplug.d/net/01-wds
new file mode 100644
(file)
index 0000000..
38bd696
--- /dev/null
+++ b/
openwrt/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
+}
+