base-files: process platform hotplug calls in the early launch of hotplug2 to avoid...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Nov 2011 17:16:01 +0000 (17:16 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Nov 2011 17:16:01 +0000 (17:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28768 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
 }
+
+SUBSYSTEM == platform {
+       exec /sbin/hotplug-call %SUBSYSTEM%
+}
index d72a1ef..246cc3a 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%
 }