diff options
author | cperciva <cperciva@FreeBSD.org> | 2015-10-01 10:52:26 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2015-10-01 10:52:26 +0000 |
commit | 8e136c4370617d6cb5580f3c9e51ae1c58f7edbe (patch) | |
tree | 7989543c22e5c121e120ae359b7126a9764569f1 /usr.bin/svn/lib/libsvn_diff/Makefile.depend | |
parent | 10e70b971f2cc53a76bf17bffc580cab730750ed (diff) | |
download | FreeBSD-src-8e136c4370617d6cb5580f3c9e51ae1c58f7edbe.zip FreeBSD-src-8e136c4370617d6cb5580f3c9e51ae1c58f7edbe.tar.gz |
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
Diffstat (limited to 'usr.bin/svn/lib/libsvn_diff/Makefile.depend')
0 files changed, 0 insertions, 0 deletions