projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f95ea
)
yay! hotplug for wds support
author
Mike Baker
<mbm@openwrt.org>
Tue, 4 May 2004 09:40:57 +0000
(09:40 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Tue, 4 May 2004 09:40:57 +0000
(09:40 +0000)
SVN-Revision: 16
root/sbin/hotplug
[new file with mode: 0755]
patch
|
blob
diff --git a/root/sbin/hotplug
b/root/sbin/hotplug
new file mode 100755
(executable)
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
+}