summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-10 07:01:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-06-10 07:01:26 +0000
commit260e5466c76f75d6d0a19cb44c7e266a6bb46329 (patch)
treea9bc8fcb65781452203e78e9c3641b212ed9c638 /distrib/miniroot/install.sub
parentfb45ea15f07dbe22eeee7a06396b8c7bcbe556f5 (diff)
On systems without keyboard setting, the hostname choice had no blank line
above it. It disturbed me deeply.
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 21173a8f202..6b5a169b5a6 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.580 2009/06/10 01:28:10 krw Exp $
+# $OpenBSD: install.sub,v 1.581 2009/06/10 07:01:25 deraadt Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback
@@ -76,13 +76,11 @@ set_term() {
export TERM=${TERM:-${MDTERM:-vt220}}
if [[ -n $CONSOLE ]]; then
- echo
ask "Terminal type?" $TERM
export TERM=$resp
else
[[ -x /sbin/kbd ]] || return
_layouts=$(bsort $(kbd -l | egrep -v "^(user|tables|encoding)"))
- echo
while :; do
ask "Choose your keyboard layout ('?' or 'L' for list)" "default"
case $resp in
@@ -1902,6 +1900,7 @@ At any prompt except password prompts you can escape to a shell by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN. You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.
+
__EOT
# Configure the terminal and keyboard.