diff options
author | Martin Natano <natano@cvs.openbsd.org> | 2017-03-02 10:38:11 +0000 |
---|---|---|
committer | Martin Natano <natano@cvs.openbsd.org> | 2017-03-02 10:38:11 +0000 |
commit | 74ec58af25dbea2773d924537499c413d0d983dd (patch) | |
tree | 9a9d0c79a40dd17ac87ca0acbfdb4623020c08bc /lib | |
parent | 6bfb01fcf4947233b8bf5ffe005dbc1f79a35df0 (diff) |
Add a new sysctl machdep.lidaction. The sysctl works as follows:
machdep.lidaction=0 # do nothing
machdep.lidaction=1 # suspend
machdep.lidaction=2 # hibernate
lidsuspend is just an alias for lidaction, so if you change one, the
other one will have the same value. The plan is to remove
machdep.lidsuspend eventually when people have upgraded their
/ets/sysctl.conf.
discussed with deraadt, who came up with the new MIB name
no objections mlarkin
ok stsp halex jcs
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions