orderly_poweroff

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

orderly_poweroff - Trigger an orderly system poweroff

SYNOPSIS

int orderly_poweroff(bool force);

ARGUMENTS

force

force poweroff if command execution fails

DESCRIPTION

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