From: Felix Fietkau Date: Sat, 5 Nov 2011 17:16:01 +0000 (+0000) Subject: base-files: process platform hotplug calls in the early launch of hotplug2 to avoid... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=30c588cfc95f1f1d4f6f514cc18902ae7926c9ba;p=openwrt%2Fsvn-archive%2Farchive.git 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 --- 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% +} diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2/files/hotplug2.rules index d72a1efb62..246cc3ab44 100644 --- a/package/hotplug2/files/hotplug2.rules +++ b/package/hotplug2/files/hotplug2.rules @@ -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% }