summaryrefslogtreecommitdiff
path: root/distrib/mvme68k/ramdisk/install.md
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/mvme68k/ramdisk/install.md')
-rw-r--r--distrib/mvme68k/ramdisk/install.md32
1 files changed, 13 insertions, 19 deletions
diff --git a/distrib/mvme68k/ramdisk/install.md b/distrib/mvme68k/ramdisk/install.md
index 4750424dd7f..53ce09126f0 100644
--- a/distrib/mvme68k/ramdisk/install.md
+++ b/distrib/mvme68k/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.12 2001/06/23 19:44:47 deraadt Exp $
+# $OpenBSD: install.md,v 1.13 2002/03/31 17:30:31 deraadt Exp $
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
#
@@ -33,7 +33,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
-
#
# machine dependent section of installation/upgrade script.
#
@@ -53,12 +52,10 @@ md_copy_kernel() {
echo -n "Escape to shell add /mnt/bsd by hand? [y] "
getresp "y"
case "$resp" in
- y*|Y*)
- echo "Type 'exit' to return to install."
- sh
- ;;
- *)
- ;;
+ y*|Y*)
+ echo "Type 'exit' to return to install."
+ sh
+ ;;
esac
fi
}
@@ -83,8 +80,8 @@ md_get_cddevs() {
dmesg | egrep -a "^cd[0-9] " | sed -e "s/[ :(].*//" | sort -u
}
-md_get_ifdevs() {
- # return available network devices
+md_get_ifdevs() {
+ # return available network devices
dmesg | egrep "(^ie[0-9] )|(^le[0-9] )" | cut -d" " -f1 | sort -u
}
@@ -99,7 +96,7 @@ md_questions() {
md_installboot() {
local _rawdev
-
+
echo ""
echo "Installing boot blocks."
@@ -122,7 +119,7 @@ md_installboot() {
}
md_labeldisk() {
- echo "huh"
+ :
}
md_checkfordisklabel() {
@@ -149,22 +146,19 @@ md_prep_disklabel()
_disk=$1
md_checkfordisklabel $_disk
case $? in
- 0)
- echo -n "Do you wish to edit the disklabel on $_disk? [y] "
+ 0) echo -n "Do you wish to edit the disklabel on $_disk? [y] "
;;
- 1)
- echo "WARNING: Disk $_disk has no label"
+ 1) echo "WARNING: Disk $_disk has no label"
echo -n "Do you want to create one with the disklabel editor? [y] "
;;
- 2)
- echo "WARNING: Label on disk $_disk is corrupted"
+ 2) echo "WARNING: Label on disk $_disk is corrupted"
echo -n "Do you want to try and repair the damage using the disklabel editor? [y] "
;;
esac
getresp "y"
case "$resp" in
- y*|Y*) ;;
+ y*|Y*) ;;
*) return ;;
esac