aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2/files/hotplug2.rules
diff options
context:
space:
mode:
Diffstat (limited to 'package/hotplug2/files/hotplug2.rules')
-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%;
}