Add new Skeleton.
This commit is contained in:
18
bsp/board/raspberrypi/ovl/etc/hotplug-preinit.json
Normal file
18
bsp/board/raspberrypi/ovl/etc/hotplug-preinit.json
Normal file
@@ -0,0 +1,18 @@
|
||||
[
|
||||
[ "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" ]
|
||||
],
|
||||
]
|
||||
Reference in New Issue
Block a user