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

SVN-Revision: 7955
owl
Felix Fietkau 2007-07-13 02:32:32 +00:00
parent 4595775416
commit c50816d093
2 changed files with 5 additions and 5 deletions

View File

@ -28,6 +28,11 @@ DEVPATH is set {
makedev /dev/%DEVICENAME% 0644 makedev /dev/%DEVICENAME% 0644
} }
FIRMWARE is set {
nothrottle
exec /sbin/hotplug-call firmware;
next
}
SUBSYSTEM ~~ button { SUBSYSTEM ~~ button {
exec kill -USR1 1 ; exec kill -USR1 1 ;

View File

@ -1,9 +1,4 @@
$include /etc/hotplug2-init.rules $include /etc/hotplug2-init.rules
FIRMWARE is set {
nothrottle
exec /sbin/hotplug-call firmware;
next
}
SUBSYSTEM ~~ (net|button|usb) { SUBSYSTEM ~~ (net|button|usb) {
exec /sbin/hotplug-call %SUBSYSTEM%; exec /sbin/hotplug-call %SUBSYSTEM%;