diff options
author | 2013-08-21 20:10:47 +0000 | |
---|---|---|
committer | 2013-08-21 20:10:47 +0000 | |
commit | e844602dc3e517d2cf45ec0652029cddf95840f3 (patch) | |
tree | 90827785abafcfa0409683335a8f65dae7b0473b /usr.sbin/rbootd/utils.c | |
parent | Use the console locator to make sure wsdisplay0 always is the glass console. (diff) | |
download | wireguard-openbsd-e844602dc3e517d2cf45ec0652029cddf95840f3.tar.xz wireguard-openbsd-e844602dc3e517d2cf45ec0652029cddf95840f3.zip |
Add an indicator sensor to acpibtnX reflecting lid status when available,
useful for people not using machdep.lidsuspend. sysutils/upower will make
use of this soon.
Note that on some laptops, no LID event is triggered upon resume when using
machdep.lidsuspend, so the value might be false in this case..
Tested by rpe@ on a variety of Lenovo HW, thanks!
ok kettenis@ deraadt@
Diffstat (limited to 'usr.sbin/rbootd/utils.c')
0 files changed, 0 insertions, 0 deletions