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

SVN-Revision: 7955
master
Felix Fietkau 17 years ago
parent 4595775416
commit c50816d093
  1. 5
      package/base-files/files/etc/hotplug2-init.rules
  2. 5
      package/hotplug2/files/hotplug2.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 ;

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

Loading…
Cancel
Save