summaryrefslogtreecommitdiff
path: root/distrib/i386/floppies/ramdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-11 09:47:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-04-11 09:47:10 +0000
commit9f29845eb8f221ac72e303f71e4b74c58b2fe3a3 (patch)
tree65e980591c5e0d9ff9283de95520690410a1720a /distrib/i386/floppies/ramdisk
parent50eb7232c65e9c7f91f5ccc027cbf62cc5c3bc73 (diff)
give user a chance to enable xf86(4)
Diffstat (limited to 'distrib/i386/floppies/ramdisk')
-rw-r--r--distrib/i386/floppies/ramdisk/install.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/distrib/i386/floppies/ramdisk/install.md b/distrib/i386/floppies/ramdisk/install.md
index c9ca4d8950e..175d005ace7 100644
--- a/distrib/i386/floppies/ramdisk/install.md
+++ b/distrib/i386/floppies/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.33 1998/04/01 20:22:48 millert Exp $
+# $OpenBSD: install.md,v 1.34 1998/04/11 09:47:09 deraadt Exp $
#
#
# Copyright rc) 1996 The NetBSD Foundation, Inc.
@@ -85,6 +85,22 @@ md_installboot() {
cp /usr/mdec/boot /mnt/boot
sync; sync; sync
/usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot ${1}
+
+ echo
+ echo -n "Do you expect to run any accelerated X servers on this machine? [n] "
+ getresp "n"
+ case "$resp" in
+ y*|Y*)
+ echo "Enabling machdep.allowaperture. Read xf86(4) for more information."
+ echo '1,$s/^#machdep\.allowaperture=1/machdep\.allowaperture=1 /
+w
+q' | ed /mnt/etc/sysctl.conf 2> /dev/null
+
+ ;;
+ *)
+ ;;
+ esac
+
}
md_native_fstype() {