From 1d5d64e647517cdd5bc8d0bb8c408babfec51d79 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 25 Jun 2007 08:32:25 +0000 Subject: 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 --- .../brcm-2.4/base-files/default/etc/hotplug2-init.rules | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 target/linux/brcm-2.4/base-files/default/etc/hotplug2-init.rules (limited to 'target/linux/brcm-2.4/base-files') 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 000000000..098ad047a --- /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 ; +} -- cgit v1.2.3