summaryrefslogtreecommitdiff
path: root/etc/etc.sgi/sysctl.conf
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2011-06-24 19:47:50 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2011-06-24 19:47:50 +0000
commit3da505965757e4e925366c29b363105405fd202d (patch)
tree3bd93b0681c5ada7d7dac32ec4fcd54b6063055f /etc/etc.sgi/sysctl.conf
parent7f1ea65fed8697f18acb9a18feab7940904e5e80 (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 'etc/etc.sgi/sysctl.conf')
-rw-r--r--etc/etc.sgi/sysctl.conf1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/etc.sgi/sysctl.conf b/etc/etc.sgi/sysctl.conf
index 393f66d8884..e69de29bb2d 100644
--- a/etc/etc.sgi/sysctl.conf
+++ b/etc/etc.sgi/sysctl.conf
@@ -1 +0,0 @@
-#machdep.kbdreset=1 # 1=Enable power button shutdown