From 32a26d8360637b9a9ae41a4b77f7ba7f5f2eb352 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Wed, 8 May 2002 23:01:48 +0000 Subject: 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@ --- distrib/hp300/ramdisk/install.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'distrib/hp300') diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md index 36a1a948df9..892a138bce4 100644 --- a/distrib/hp300/ramdisk/install.md +++ b/distrib/hp300/ramdisk/install.md @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: install.md,v 1.27 2002/04/28 14:44:01 krw Exp $ +# $OpenBSD: install.md,v 1.28 2002/05/08 23:01:46 krw Exp $ # $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -43,12 +43,10 @@ # Machine-dependent install sets MDSETS=kernel +MDTERM=hp300h ARCH=ARCH md_set_term() { - ask "Specify terminal type:" hp300h - TERM="$resp" - export TERM } md_get_diskdevs() { @@ -62,11 +60,6 @@ md_get_cddevs() { dmesg | egrep -a "sd[0-9]*:.*CD-ROM" | cutword -t: 1 | sort -u } -md_get_partition_range() { - # return range of valid partition letters - echo [a-p] -} - md_questions() { : } -- cgit v1.2.3