1. NAME▲

orderly_poweroff - Trigger an orderly system poweroff

2. SYNOPSIS ▲

int orderly_poweroff(bool  force );

3. ARGUMENTS ▲

force
    force poweroff if command execution fails

4. DESCRIPTION ▲

This may be called from any context to trigger a system shutdown. If the orderly shutdown fails, it will force an immediate shutdown.

5. COPYRIGHT ▲