mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
4ebf19b48f
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
21 lines
326 B
JSON
21 lines
326 B
JSON
[
|
|
[ "case", "ACTION", {
|
|
"add": [
|
|
[ "if",
|
|
[ "has", "FIRMWARE" ],
|
|
[
|
|
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ],
|
|
[ "load-firmware", "/lib/firmware" ],
|
|
[ "return" ]
|
|
]
|
|
],
|
|
],
|
|
}, ],
|
|
[ "if",
|
|
[ "and",
|
|
[ "eq", "SUBSYSTEM", "button" ],
|
|
],
|
|
[ "exec", "/etc/rc.button/failsafe" ]
|
|
],
|
|
]
|