{ | |
program: { | |
binary: "bin/shutdown-shim", | |
lifecycle: { stop_event: "notify" }, | |
main_process_critical: "true", | |
}, | |
capabilities: [ | |
{ protocol: "fuchsia.hardware.power.statecontrol.Admin" }, | |
], | |
use: [ | |
{ runner: "elf" }, | |
{ | |
protocol: [ | |
"fuchsia.boot.WriteOnlyLog", | |
"fuchsia.device.manager.SystemStateTransition", | |
"fuchsia.hardware.power.statecontrol.Admin", | |
"fuchsia.sys2.SystemController", | |
], | |
}, | |
], | |
expose: [ | |
{ | |
protocol: "fuchsia.hardware.power.statecontrol.Admin", | |
from: "self", | |
}, | |
], | |
} |