diff options
author | 2002-02-23 18:29:51 +0000 | |
---|---|---|
committer | 2002-02-23 18:29:51 +0000 | |
commit | 5c78d720903920d4791e42046d79295a36a5198a (patch) | |
tree | 21200d38f9ed607869906fd04837e0a9149d40d9 | |
parent | sync (diff) | |
download | wireguard-openbsd-5c78d720903920d4791e42046d79295a36a5198a.tar.xz wireguard-openbsd-5c78d720903920d4791e42046d79295a36a5198a.zip |
be aware that macppc has aperture too
-rw-r--r-- | distrib/macppc/ramdisk/install.md | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md index e7fc38fad1e..34a0e70e8a3 100644 --- a/distrib/macppc/ramdisk/install.md +++ b/distrib/macppc/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.5 2002/02/14 03:26:05 deraadt Exp $ +# $OpenBSD: install.md,v 1.6 2002/02/23 18:29:51 deraadt Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -68,7 +68,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() { @@ -86,6 +96,14 @@ md_installboot() { echo "Failed, you will not be able to boot from /dev/${1}." fi fi + if [ "$xfree86" = y ]; then + echo + echo "Enabling machdep.allowaperture. Read xf86(4) for more information." + echo '1,$s/^#machdep\.allowaperture=2/machdep\.allowaperture=2 / +w +q' | ed /mnt/etc/sysctl.conf 2> /dev/null + echo + fi } md_native_fstype() { |