summaryrefslogtreecommitdiff
path: root/package/hotplug2/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-05-06 16:03:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-05-06 16:03:38 +0000
commit9f388f84cecfa811995c72b59f64fd1101c6d03b (patch)
treec443c7a05f57cba767cf7485d345f444cee28c9c /package/hotplug2/files
parentd52f0045694ff66e436e54c569d87f734c886caf (diff)
downloadmtk-20170518-9f388f84cecfa811995c72b59f64fd1101c6d03b.zip
mtk-20170518-9f388f84cecfa811995c72b59f64fd1101c6d03b.tar.gz
mtk-20170518-9f388f84cecfa811995c72b59f64fd1101c6d03b.tar.bz2
fix firmware loading
SVN-Revision: 7115
Diffstat (limited to 'package/hotplug2/files')
-rw-r--r--package/hotplug2/files/hotplug2.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules
index ebd96fa..5122ada 100644
--- a/package/hotplug2/files/hotplug2.rules
+++ b/package/hotplug2/files/hotplug2.rules
@@ -7,6 +7,11 @@ DEVPATH is set {
makedev /dev/%DEVICENAME% 0644
}
+FIRMWARE is set {
+ exec /sbin/hotplug-call firmware;
+ next
+}
+
SUBSYSTEM ~~ (net|button) {
exec /sbin/hotplug-call %SUBSYSTEM%;
}