aboutsummaryrefslogtreecommitdiffstats
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
parente15c48c8e42ca5f21a1bc36ca5cd8c04de851a63 (diff)
downloadupstream-629985c5aa8f266a7d6bb1fb689726b7c2239bcd.tar.gz
upstream-629985c5aa8f266a7d6bb1fb689726b7c2239bcd.tar.bz2
upstream-629985c5aa8f266a7d6bb1fb689726b7c2239bcd.zip
fix firmware loading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7115 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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%;
}