aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-05 17:16:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-05 17:16:01 +0000
commit248ab4ac2ff88da00903990a537927f7c85b5c33 (patch)
treefbe536d86ccb9ecde5bcdba530efcd093dfd25ae /package/base-files/files
parent05ce57c00544ae4ba9b990a58a3ecceeb16aa8a6 (diff)
downloadupstream-248ab4ac2ff88da00903990a537927f7c85b5c33.tar.gz
upstream-248ab4ac2ff88da00903990a537927f7c85b5c33.tar.bz2
upstream-248ab4ac2ff88da00903990a537927f7c85b5c33.zip
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)
SVN-Revision: 28768
Diffstat (limited to 'package/base-files/files')
-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%
+}