freebsd-nq/sbin/init
Colin Percival 2eb0015ab7 Disable suspend when we're shutting down. This solves the "tell FreeBSD
to shut down; close laptop lid" scenario which otherwise tended to end
with a laptop overheating or the battery dying.

The implementation uses a new sysctl, kern.suspend_blocked; init(8) sets
this while rc.suspend runs, and the ACPI sleep code ignores requests while
the sysctl is set.

Discussed on:	freebsd-acpi (35 emails)
MFC after:	1 week
2015-10-01 10:52:26 +00:00
..
init.8 Add missing SIGUSR1 description. 2015-07-24 18:14:57 +00:00
init.c Disable suspend when we're shutting down. This solves the "tell FreeBSD 2015-10-01 10:52:26 +00:00
Makefile Convert sbin/ to LIBADD 2014-11-25 11:23:12 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
NOTES
pathnames.h Make init(8) slightly more robust when /dev/console is missing. 2012-03-14 16:22:09 +00:00