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