summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-27 18:24:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-03-27 18:24:33 +0000
commite9bb385df88b684bebe8ad775223bb1ed64d729d (patch)
tree5c8c31b4e0aa9408677ba1e4170137b1d2b90519 /distrib
parentf5b5f9a9d79ac00b898f03754f8633d88a7da65e (diff)
aperture support
Diffstat (limited to 'distrib')
-rw-r--r--distrib/sparc64/common/install.md22
1 files changed, 20 insertions, 2 deletions
diff --git a/distrib/sparc64/common/install.md b/distrib/sparc64/common/install.md
index c60b29e4828..9cde4dddd1c 100644
--- a/distrib/sparc64/common/install.md
+++ b/distrib/sparc64/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.3 2002/02/14 03:34:15 deraadt Exp $
+# $OpenBSD: install.md,v 1.4 2002/03/27 18:24:32 deraadt Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
@@ -82,7 +82,17 @@ md_get_partition_range() {
}
md_questions() {
- :
+ echo
+ echo -n "Do you expect to run the X Window System? [y] "
+ getresp y
+ case "$resp" in
+ y*|Y*)
+ xfree86=y
+ ;;
+ *)
+ ;;
+ esac
+ echo
}
md_installboot() {
@@ -118,6 +128,14 @@ md_installboot() {
fi
echo Copying ofwboot...
cp ${_prefix}/ofwboot /mnt/ofwboot
+ if [ "$xfree86" = y ]; then
+ echo
+ echo "Enabling machdep.allowaperture. Read xf86(4) for more information."
+ echo '1,$s/^#machdep\.allowaperture=2/machdep\.allowaperture=1 /
+w
+q' | ed /mnt/etc/sysctl.conf 2> /dev/null
+ echo
+ fi
}
md_native_fstype() {