[procd] update to latest git head
[openwrt/svn-archive/archive.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 [ "eq", "BUTTON", "reset" ],
18 ],
19 [ "exec", "/etc/rc.button/failsafe" ]
20 ],
21 ]