mirror of https://github.com/hak5/openwrt-owl.git
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" ]
|
||
|
],
|
||
|
]
|