projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
procd: make the preinit rules wildcard all buttons for failsafe
[openwrt.git]
/
package
/
procd
/
files
/
hotplug-preinit.json
1
[
2
[ "case", "ACTION", {
3
"add": [
4
[ "if",
5
[ "has", "FIRMWARE" ],
6
[
7
[ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ],
8
[ "load-firmware", "/lib/firmware" ],
9
[ "return" ]
10
]
11
],
12
],
13
}, ],
14
[ "if",
15
[ "and",
16
[ "eq", "SUBSYSTEM", "button" ],
17
],
18
[ "exec", "/etc/rc.button/failsafe" ]
19
],
20
]