aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm-2.4
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-25 08:32:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-25 08:32:25 +0000
commitc20906011668315d50d629cb2d4dc46de9062d9a (patch)
tree1db4163deba31f36d771177dfcfabb21cd93f2ac /target/linux/brcm-2.4
parent21e832921cd728a2e039b1e4c3948a78a54f8938 (diff)
downloadupstream-c20906011668315d50d629cb2d4dc46de9062d9a.tar.gz
upstream-c20906011668315d50d629cb2d4dc46de9062d9a.tar.bz2
upstream-c20906011668315d50d629cb2d4dc46de9062d9a.zip
fix failsafe on broadcom, send netlink events in diag when running linux 2.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm-2.4')
-rw-r--r--target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules b/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules
new file mode 100644
index 0000000000..098ad047a7
--- /dev/null
+++ b/target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules
@@ -0,0 +1,12 @@
+DEVICENAME ~~ (tun|tap[0-9]) {
+ makedev /dev/net/%DEVICENAME% 0644
+ next
+}
+
+DEVPATH is set {
+ makedev /dev/%DEVICENAME% 0644
+}
+
+SUBSYSTEM ~~ button {
+ exec kill -USR1 1 ;
+}