aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2011-02-06 14:35:07 +0000
committerMichael Büsch <mb@bu3sch.de>2011-02-06 14:35:07 +0000
commitb14b5c0093a8cb30dfff13cc495b2946095ebdbd (patch)
treec07246001124bea6197530b437754dc78fea5920
parenta536870cc5a2025965d53fd19e72e1b3eddffbdd (diff)
downloadupstream-b14b5c0093a8cb30dfff13cc495b2946095ebdbd.tar.gz
upstream-b14b5c0093a8cb30dfff13cc495b2946095ebdbd.tar.bz2
upstream-b14b5c0093a8cb30dfff13cc495b2946095ebdbd.zip
hotplug2 rules: Run /etc/hotplug.d/firmware/ scripts (if any) on firmware load events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25383 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index 2eb58d7084..2a781b8dac 100644
--- a/package/base-files/files/etc/hotplug2-common.rules
+++ b/package/base-files/files/etc/hotplug2-common.rules
@@ -40,6 +40,7 @@ DEVPATH is set {
}
FIRMWARE is set, ACTION == add {
+ exec /sbin/hotplug-call firmware
load-firmware /lib/firmware
next-event
}