mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 07:12:52 -04:00
run acpi_shutdown_final later to give other handlers a chance
For example, shutdown_panic wants to produce some output and maybe take
some input before a system is actually reset.
The change should only make difference for the case of system reset
(reboot), poweroff and halt should not be affected.
The change makes difference only if hw.acpi.handle_reboot is set. It
used to default to zero until r213755 / ac731af567.
This commit is contained in:
parent
cbf7c81b60
commit
9cdf326b4f
1 changed files with 1 additions and 1 deletions
|
|
@ -675,7 +675,7 @@ acpi_attach(device_t dev)
|
|||
|
||||
/* Register our shutdown handler. */
|
||||
EVENTHANDLER_REGISTER(shutdown_final, acpi_shutdown_final, sc,
|
||||
SHUTDOWN_PRI_LAST);
|
||||
SHUTDOWN_PRI_LAST + 150);
|
||||
|
||||
/*
|
||||
* Register our acpi event handlers.
|
||||
|
|
|
|||
Loading…
Reference in a new issue