mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:37:10 +02:00
move firmware loading to hotplug2-init.rules (should fix #2056)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7955 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ceb6afc4cf
commit
8a40c8c3ef
@ -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 ;
|
||||||
|
@ -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%;
|
||||||
|
Loading…
Reference in New Issue
Block a user