Browse Source

move firmware loading to hotplug2-init.rules (should fix #2056)

SVN-Revision: 7955
Felix Fietkau 18 years ago
parent
commit
c50816d093

+ 5 - 0
package/base-files/files/etc/hotplug2-init.rules

@@ -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 ;

+ 0 - 5
package/hotplug2/files/hotplug2.rules

@@ -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%;