summaryrefslogtreecommitdiff
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
commit8c41e51e92fda935eb907b9263ae44a30f9977bc (patch)
tree4e365ae77cdc155df20d51f6b0b97fff828b3756 /target/linux/brcm-2.4
parenta99b79e9ad865990e0a6c438cfbb8adc88ccf6a0 (diff)
downloadmtk-20170518-8c41e51e92fda935eb907b9263ae44a30f9977bc.zip
mtk-20170518-8c41e51e92fda935eb907b9263ae44a30f9977bc.tar.gz
mtk-20170518-8c41e51e92fda935eb907b9263ae44a30f9977bc.tar.bz2
fix failsafe on broadcom, send netlink events in diag when running linux 2.6
SVN-Revision: 7722
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 0000000..098ad04
--- /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 ;
+}