base-files: process platform hotplug calls in the early launch of hotplug2 to avoid...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 5 Nov 2011 17:16:01 +0000 (17:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 5 Nov 2011 17:16:01 +0000 (17:16 +0000)
SVN-Revision: 28768

package/base-files/files/etc/hotplug2-common.rules
package/hotplug2/files/hotplug2.rules

index 101d4512fb798051d1413e20f730bce15a926bf0..a1d07d39972e01fdac0535687a400aa334be7307 100644 (file)
@@ -55,3 +55,7 @@ FIRMWARE is set, ACTION == add {
        load-firmware /lib/firmware
        next-event
 }
+
+SUBSYSTEM == platform {
+       exec /sbin/hotplug-call %SUBSYSTEM%
+}
index d72a1efb624c7d4598721666f8c68466e2de5f79..246cc3ab445b856e52e3fb5a16ec992e34a826a8 100644 (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%
 }