Bläddra i källkod

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
Felix Fietkau 14 år sedan
förälder
incheckning
248ab4ac2f

+ 4 - 0
package/base-files/files/etc/hotplug2-common.rules

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

+ 1 - 1
package/hotplug2/files/hotplug2.rules

@@ -1,6 +1,6 @@
 $include /etc/hotplug2-common.rules
 $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%
 	exec /sbin/hotplug-call %SUBSYSTEM%
 }
 }