aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2
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
commit629985c5aa8f266a7d6bb1fb689726b7c2239bcd (patch)
tree1bdb1a74bc8bcc14c645b9c52c3cbf9a83318241 /package/hotplug2
parente15c48c8e42ca5f21a1bc36ca5cd8c04de851a63 (diff)
downloadmaster-187ad058-629985c5aa8f266a7d6bb1fb689726b7c2239bcd.tar.gz
master-187ad058-629985c5aa8f266a7d6bb1fb689726b7c2239bcd.tar.bz2
master-187ad058-629985c5aa8f266a7d6bb1fb689726b7c2239bcd.zip
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 ebd96fa33d..5122ada378 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%;
}