summaryrefslogtreecommitdiffstats
path: root/package/hotplug2
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-06 16:03:38 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-06 16:03:38 +0000
commit69ce678e8c2f2f8e09036c6cac4184ff03dfe82a (patch)
tree1bdb1a74bc8bcc14c645b9c52c3cbf9a83318241 /package/hotplug2
parent37114ecd460f0a20f46e0f7d8f9000c312cb5607 (diff)
fix firmware loading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7115 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hotplug2')
-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 ebd96fa33..5122ada37 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%;
}