move firmware loading to hotplug2-init.rules (should fix #2056)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jul 2007 02:32:32 +0000 (02:32 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jul 2007 02:32:32 +0000 (02:32 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7955 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index bcc4c6a..acfe8ca 100644 (file)
@@ -28,6 +28,11 @@ DEVPATH is set {
        makedev /dev/%DEVICENAME% 0644
 }
 
+FIRMWARE is set {
+       nothrottle
+       exec /sbin/hotplug-call firmware;
+       next
+}
 
 SUBSYSTEM ~~ button {
        exec kill -USR1 1 ;
index a6697ae..4eb762f 100644 (file)
@@ -1,9 +1,4 @@
 $include /etc/hotplug2-init.rules
-FIRMWARE is set {
-       nothrottle
-       exec /sbin/hotplug-call firmware;
-       next
-}
 
 SUBSYSTEM ~~ (net|button|usb) {
        exec /sbin/hotplug-call %SUBSYSTEM%;