diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-11-05 17:16:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-11-05 17:16:01 +0000 |
commit | d93f90e54cad771854f53b49e397e537f3625586 (patch) | |
tree | b5b16af848b480f1bcef21828a81e7dee880a77e | |
parent | 14fb2c27e2d1a60a82a6c5a21e3f57f6f7f0be58 (diff) | |
download | upstream-d93f90e54cad771854f53b49e397e537f3625586.tar.gz upstream-d93f90e54cad771854f53b49e397e537f3625586.tar.bz2 upstream-d93f90e54cad771854f53b49e397e537f3625586.zip |
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28768 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/base-files/files/etc/hotplug2-common.rules | 4 | ||||
-rw-r--r-- | package/hotplug2/files/hotplug2.rules | 2 |
2 files changed, 5 insertions, 1 deletions
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% } |