orderly_poweroff9
Trigger an orderly system poweroff
Usage
int orderly_poweroff(bool force);
Arguments
force
force poweroff if command execution fails
Overview
This may be called from any context to trigger a system shutdown. If the orderly shutdown fails, it will force an immediate shutdown.
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.