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
master
Felix Fietkau 2011-11-05 17:16:01 +00:00
parent 14fb2c27e2
commit d93f90e54c
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%
}