handle_shutdown_via_reboot

Function handle_shutdown_via_reboot 

Source
fn handle_shutdown_via_reboot(request: ShutdownRequest) -> Result<()>
Expand description

Shutdown when running as a child forked from PID 1.

Calls reboot(2) directly since no external poweroff binary exists in the initrd.