summaryrefslogtreecommitdiff
path: root/distrib/miniroot/install.sub
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r--distrib/miniroot/install.sub4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 8cb489f76a3..4b9675f5554 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.344 2004/07/17 02:13:53 krw Exp $
+# $OpenBSD: install.sub,v 1.345 2004/07/17 03:26:07 krw Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2004 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1677,9 +1677,9 @@ questions() {
_td=$2
ask_yn "Change the default console to $_bd?"
[[ $resp == n ]] && return
- echo "set tty $_bd" >>/mnt/etc/boot.conf
ask_which "speed" "should $_bd use" "9600 19200 38400 57600 115200" 9600
[[ $resp == done ]] && return
+ echo "set tty $_bd\nstty $_bd $resp" >>/mnt/etc/boot.conf
sed -e "/^${_td}/s/std.9600/std.${resp}/" \
-e "/^${_td}/s/unknown/vt220 /" \
-e "/${_td}/s/off/on secure/" /mnt/etc/ttys >/tmp/ttys