diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-05-08 23:01:48 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-05-08 23:01:48 +0000 |
commit | 32a26d8360637b9a9ae41a4b77f7ba7f5f2eb352 (patch) | |
tree | 860c979d83a9aebcf9b121766a16e143062ea6a7 /distrib/mac68k/ramdisk/install.md | |
parent | 6cb2a4b6d953662fe7902f963ab0de3e0d351d2e (diff) |
Abstract out common md_set_term() code into set_term() in install.sub,
calling md_set_term() from set_term() to do machine dependent stuff.
Currently only i386 does anything - keyboard mappings.
Add MDTERM variable to allow install.md to set proper default terminal
type. Default to vt220.
Eliminate md_get_partition_range() as useless since every architecture
returned '[a-p]'.
Make default term for all mvme* architectures vt100 as requested by miod@.
ok deraadt@ millert@ miod@
Diffstat (limited to 'distrib/mac68k/ramdisk/install.md')
-rw-r--r-- | distrib/mac68k/ramdisk/install.md | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/distrib/mac68k/ramdisk/install.md b/distrib/mac68k/ramdisk/install.md index 4099882e70c..8b0f46b6b54 100644 --- a/distrib/mac68k/ramdisk/install.md +++ b/distrib/mac68k/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.9 2002/04/28 14:44:01 krw Exp $ +# $OpenBSD: install.md,v 1.10 2002/05/08 23:01:46 krw Exp $ # # Copyright (c) 2002, Miodrag Vallat. # All rights reserved. @@ -64,15 +64,10 @@ # Machine-dependent install sets MDSETS="bsd-generic bsd-genericsbc" +MDTERM=vt100 ARCH=ARCH md_set_term() { - if [ ! -z "$TERM" ]; then - return - fi - ask "Specify terminal type:" vt100 - TERM="$resp" - export TERM } md_get_diskdevs() { @@ -85,11 +80,6 @@ md_get_cddevs() { bsort `dmesg | egrep -a "^cd[0-9]+ " | cutword 1` } -md_get_partition_range() { - # return range of valid partition letters - echo [a-p] -} - md_questions() { : } |