summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-03-13 21:22:50 +0000
committerderaadt <deraadt@openbsd.org>2001-03-13 21:22:50 +0000
commit19cba830c9b23a78c4025efd74310cd7dc4b26b8 (patch)
tree1e673a373b5c1c56b6e5ad2e8f3c7e12d4020d33
parenttypo (diff)
downloadwireguard-openbsd-19cba830c9b23a78c4025efd74310cd7dc4b26b8.tar.xz
wireguard-openbsd-19cba830c9b23a78c4025efd74310cd7dc4b26b8.zip
at install time, if X is chosen, set machdep.aperature to 2 instead of 1.
-rw-r--r--distrib/i386/floppies/common/install.md4
-rw-r--r--etc/etc.i386/sysctl.conf2
2 files changed, 3 insertions, 3 deletions
diff --git a/distrib/i386/floppies/common/install.md b/distrib/i386/floppies/common/install.md
index af24507cc65..c8eec944b88 100644
--- a/distrib/i386/floppies/common/install.md
+++ b/distrib/i386/floppies/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.11 2001/03/03 08:14:02 deraadt Exp $
+# $OpenBSD: install.md,v 1.12 2001/03/13 21:22:50 deraadt Exp $
#
#
# Copyright rc) 1996 The NetBSD Foundation, Inc.
@@ -96,7 +96,7 @@ md_installboot() {
if [ "$xfree86" = y ]; then
echo
echo "Enabling machdep.allowaperture. Read xf86(4) for more information."
- echo '1,$s/^#machdep\.allowaperture=1/machdep\.allowaperture=1 /
+ echo '1,$s/^#machdep\.allowaperture=2/machdep\.allowaperture=2 /
w
q' | ed /mnt/etc/sysctl.conf 2> /dev/null
echo
diff --git a/etc/etc.i386/sysctl.conf b/etc/etc.i386/sysctl.conf
index 4cdc72ebf1e..c06bca8922b 100644
--- a/etc/etc.i386/sysctl.conf
+++ b/etc/etc.i386/sysctl.conf
@@ -1,4 +1,4 @@
-#machdep.allowaperture=1 # 1=permit access to aperture driver (XFree86)
+#machdep.allowaperture=2 # See xf86(4)
#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