summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/hotplug2-init.rules
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-13 02:32:32 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-13 02:32:32 +0000
commitc50816d0931cd0b5d1ed893dfdda580debd29e92 (patch)
tree0f10a95bce6f9e043bf26b209b9eb441e5143b03 /package/base-files/files/etc/hotplug2-init.rules
parent45957754164eed31cf272f96d22c4817aed14299 (diff)
downloadmtk-20170518-c50816d0931cd0b5d1ed893dfdda580debd29e92.zip
mtk-20170518-c50816d0931cd0b5d1ed893dfdda580debd29e92.tar.gz
mtk-20170518-c50816d0931cd0b5d1ed893dfdda580debd29e92.tar.bz2
move firmware loading to hotplug2-init.rules (should fix #2056)
SVN-Revision: 7955
Diffstat (limited to 'package/base-files/files/etc/hotplug2-init.rules')
-rw-r--r--package/base-files/files/etc/hotplug2-init.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-init.rules b/package/base-files/files/etc/hotplug2-init.rules
index bcc4c6a..acfe8ca 100644
--- a/package/base-files/files/etc/hotplug2-init.rules
+++ b/package/base-files/files/etc/hotplug2-init.rules
@@ -28,6 +28,11 @@ DEVPATH is set {
makedev /dev/%DEVICENAME% 0644
}
+FIRMWARE is set {
+ nothrottle
+ exec /sbin/hotplug-call firmware;
+ next
+}
SUBSYSTEM ~~ button {
exec kill -USR1 1 ;