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
This commit is contained in:
Felix Fietkau 2011-11-05 17:16:01 +00:00
parent 05ce57c005
commit 248ab4ac2f
2 changed files with 5 additions and 1 deletions

View File

@ -55,3 +55,7 @@ FIRMWARE is set, ACTION == add {
load-firmware /lib/firmware
next-event
}
SUBSYSTEM == platform {
exec /sbin/hotplug-call %SUBSYSTEM%
}

View File

@ -1,6 +1,6 @@
$include /etc/hotplug2-common.rules
SUBSYSTEM ~~ (^net$|^input$|^button$|^usb$|^platform$|^ieee1394$|^block$|^atm$|^zaptel$|^tty$) {
SUBSYSTEM ~~ (^net$|^input$|^button$|^usb$|^ieee1394$|^block$|^atm$|^zaptel$|^tty$) {
exec /sbin/hotplug-call %SUBSYSTEM%
}