summaryrefslogtreecommitdiff
path: root/distrib/macppc/ramdisk
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-05-09 21:54:47 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-05-09 21:54:47 +0000
commit676b7110b9008420e77ca52e8ed54111e3659e23 (patch)
tree92595a3d7b9af59fdc429d473075405a4b7d7417 /distrib/macppc/ramdisk
parentcbae7dbe5a3b51d60afec2bd2238a7b186a88498 (diff)
Elminate md_welcome_banner() and md_not_going_to_install() as the
output of both was essentially identical on all architectures. Replace with welcome_banner() and not_going_to_install() in install.sub. Abstract common verbiage from md_congrats() into congrats() which calls md_congrats() for any architecture specific additional verbiage. Reword things so ${MODE} can be plausibly used in more places. Remove extraneous #!/bin/sh in hp300 install.md. ok deraadt@ espie@
Diffstat (limited to 'distrib/macppc/ramdisk')
-rw-r--r--distrib/macppc/ramdisk/install.md61
1 files changed, 3 insertions, 58 deletions
diff --git a/distrib/macppc/ramdisk/install.md b/distrib/macppc/ramdisk/install.md
index 4699e6dceef..3db7ddc15a6 100644
--- a/distrib/macppc/ramdisk/install.md
+++ b/distrib/macppc/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.10 2002/05/08 23:14:53 krw Exp $
+# $OpenBSD: install.md,v 1.11 2002/05/09 21:54:46 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -357,65 +357,10 @@ __EOT
fi
}
-md_welcome_banner() {
-{
- if [ "$MODE" = install ]; then
- cat << __EOT
-Welcome to the OpenBSD/macppc ${VERSION_MAJOR}.${VERSION_MINOR} installation program.
-
-This program is designed to help you put OpenBSD on your disk in a simple and
-rational way.
-__EOT
-
- else
- cat << __EOT
-Welcome to the OpenBSD/macppc ${VERSION_MAJOR}.${VERSION_MINOR} upgrade program.
-
-This program is designed to help you upgrade your OpenBSD system in a simple
-and rational way. As a reminder, installing the 'etc' binary set is NOT
-recommended. Once the rest of your system has been upgraded, you should
-manually merge any changes to files in the 'etc' set into those files which
-already exist on your system.
-__EOT
- fi
-
-cat << __EOT
-
-As with anything which modifies your disk's contents, this program can cause
-SIGNIFICANT data loss, and you are advised to make sure your data is backed
-up before beginning the installation process.
-
-Default answers are displayed in brackets after the questions. You can hit
-Control-C at any time to quit, but if you do so at a prompt, you may have
-to hit return. Also, quitting in the middle of installation may leave your
-system in an inconsistent state. If you hit Control-C and restart the
-install, the install program will remember many of your old answers.
-
-__EOT
-} | more
-}
-
-md_not_going_to_install() {
- cat << __EOT
-
-OK, then. Enter 'reboot' at the prompt to reset the machine. Once the machine
-has rebooted, use Open Firmware to load the new boot code.
-
-__EOT
-}
-
md_congrats() {
- local what;
- if [ "$MODE" = install ]; then
- what=installed
- else
- what=upgraded
- fi
cat << __EOT
-CONGRATULATIONS! You have successfully $what OpenBSD! To boot the
-installed system, enter reboot at the command prompt. Once the machine
-has rebooted, use Open Firmware to boot into OpenBSD.
-
+Once the machine has rebooted use Open Firmware to boot into OpenBSD,
+as described in the install document.
__EOT
}