mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-22 04:56:15 +00:00
a307480e2d
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
19 lines
305 B
JSON
19 lines
305 B
JSON
[
|
|
[ "case", "ACTION", {
|
|
"add": [
|
|
[ "if",
|
|
[ "has", "FIRMWARE" ],
|
|
[
|
|
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ],
|
|
[ "load-firmware", "/lib/firmware" ],
|
|
[ "return" ]
|
|
]
|
|
]
|
|
]
|
|
} ],
|
|
[ "if",
|
|
[ "eq", "SUBSYSTEM", "button" ],
|
|
[ "exec", "/etc/rc.button/failsafe" ]
|
|
]
|
|
]
|