summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/hotplug2-common.rules
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-05 17:16:01 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-11-05 17:16:01 +0000
commit9938a761e9c6839ea43e70ba921d05a8216ca9a0 (patch)
treeb5b16af848b480f1bcef21828a81e7dee880a77e /package/base-files/files/etc/hotplug2-common.rules
parent3ac117e4b57ba5e49cd1a9269744a76c7a9b7032 (diff)
base-files: process platform hotplug calls in the early launch of hotplug2 to avoid having crda calls get stuck at boot time (fixes #10350, #10354)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28768 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc/hotplug2-common.rules')
-rw-r--r--package/base-files/files/etc/hotplug2-common.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/base-files/files/etc/hotplug2-common.rules b/package/base-files/files/etc/hotplug2-common.rules
index 101d4512fb..a1d07d3997 100644
--- a/package/base-files/files/etc/hotplug2-common.rules
+++ b/package/base-files/files/etc/hotplug2-common.rules
@@ -55,3 +55,7 @@ FIRMWARE is set, ACTION == add {
load-firmware /lib/firmware
next-event
}
+
+SUBSYSTEM == platform {
+ exec /sbin/hotplug-call %SUBSYSTEM%
+}