mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-12 18:05:15 +00:00
82a8f5fdaa
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 48795
19 lines
309 B
JSON
19 lines
309 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" ]
|
|
],
|
|
]
|