summaryrefslogtreecommitdiff
path: root/distrib/miniroot
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-05-29 20:37:23 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-05-29 20:37:23 +0000
commitcc33b96e151ea85592f2c22a633ec420e84609ab (patch)
tree73d9d24520aa7b466819cff2a2b739366ca2eb69 /distrib/miniroot
parent66d244b24ecbc0dffa0283bff867829829d47c02 (diff)
When adjusting the speed of a 'console' tty entry, also change entries
with a default speed of 115200 since that is what we have on armv7 and arm64. ok benno@, tb@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r--distrib/miniroot/install.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 29571018e5d..032b1dcca5e 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1067 2018/05/07 10:44:01 tb Exp $
+# $OpenBSD: install.sub,v 1.1068 2018/05/29 20:37:22 kettenis Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -2637,6 +2637,7 @@ apply() {
if [[ $DEFCONS == y ]]; then
cp /mnt/etc/ttys /tmp/i/ttys
sed -e "/^$CTTY/s/std.9600/std.${CSPEED}/" \
+ -e "/^$CTTY/s/std.115200/std.${CSPEED}/" \
-e "/^$CTTY/s/unknown/vt220 /" \
-e "/$CTTY/s/off.*/on secure/" /tmp/i/ttys >/mnt/etc/ttys
[[ -n $CPROM ]] &&