1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 03:05:12 +02:00

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
This commit is contained in:
nbd 2011-11-05 17:16:01 +00:00
parent 3ac117e4b5
commit 9938a761e9
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%
}