diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-06-24 19:47:50 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2011-06-24 19:47:50 +0000 |
commit | 3da505965757e4e925366c29b363105405fd202d (patch) | |
tree | 3bd93b0681c5ada7d7dac32ec4fcd54b6063055f /sbin/sysctl | |
parent | 7f1ea65fed8697f18acb9a18feab7940904e5e80 (diff) |
machdep.kbdreset enables a shutdown by Ctrl-Alt-Del on amd64 and
i386. Stop abusing it on other archs for controling a shutdown by
pressing the soft power button:
* Add a MI sysctl hw.allowpowerdown; if set to 1 (the default) it
allows a power button shutdown.
* Make acpi(4)/acpibtn(4) honor hw.allowpowerdown.
* Switch the various power button intercepts on landisk, sgi, sparc64
and zaurus over to hw.allowpowerdown.
* Garbage collect the machdep.kbdreset sysctl on all archs other than
amd64 and i386.
ok miod@
Diffstat (limited to 'sbin/sysctl')
-rw-r--r-- | sbin/sysctl/sysctl.8 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8 index e85c2b2c3d4..238048037f5 100644 --- a/sbin/sysctl/sysctl.8 +++ b/sbin/sysctl/sysctl.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.8,v 1.158 2011/05/23 07:18:45 djm Exp $ +.\" $OpenBSD: sysctl.8,v 1.159 2011/06/24 19:47:48 naddy Exp $ .\" $NetBSD: sysctl.8,v 1.4 1995/09/30 07:12:49 thorpej Exp $ .\" .\" Copyright (c) 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sysctl.8 8.2 (Berkeley) 5/9/95 .\" -.Dd $Mdocdate: May 23 2011 $ +.Dd $Mdocdate: June 24 2011 $ .Dt SYSCTL 8 .Os .Sh NAME @@ -342,6 +342,7 @@ and a few require a kernel compiled with non-standard .It hw.serialno string no .It hw.uuid string no .It hw.ncpufound integer no +.It hw.allowpowerdown integer yes .It machdep.console_device dev_t no .It machdep.unaligned_print integer yes .It machdep.unaligned_fix integer yes |