summaryrefslogtreecommitdiff
path: root/etc/etc.i386/sysctl.conf
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2001-01-05 04:27:25 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2001-01-05 04:27:25 +0000
commitef198690928505c4e2ba63bf76ddfdf06bc498f1 (patch)
treeeb4285d55f1daed4eba7eb6681825182009ebd1c /etc/etc.i386/sysctl.conf
parentef11d5af8f08c344716db7cbddd33e790eec169b (diff)
Add i386 specific sysctl to modify halt -p processing, required to make
powerdown work correctly on some processors. Idea from mickey@ and smcho@tsp.korea.ac.kr. Tested my me and angelos@. Note: If you want to try these out you'll need to cd /sys/arch/i386/include && sudo install -m 444 -o root -g root cpu.h /usr/include/i386 cd /usr/src/sbin/sysctl && make obj && make && sudo make install to get a sysctl that understands the new variable (machdep.apmhalt).
Diffstat (limited to 'etc/etc.i386/sysctl.conf')
-rw-r--r--etc/etc.i386/sysctl.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/etc.i386/sysctl.conf b/etc/etc.i386/sysctl.conf
index 8e96d662af2..4cdc72ebf1e 100644
--- a/etc/etc.i386/sysctl.conf
+++ b/etc/etc.i386/sysctl.conf
@@ -1,3 +1,4 @@
#machdep.allowaperture=1 # 1=permit access to aperture driver (XFree86)
#machdep.apmwarn=10 # battery % when apm status messages enabled
+#machdep.apmhalt=0 # 1=powerdown hack, try if halt -p doesn't work
#machdep.kbdreset=1 # permit console CTRL-ALT-DEL to do a nice halt