summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-03-05 01:09:59 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-03-05 01:09:59 +0000
commit72944efc566b5419a9952a6ccef7fb23add34678 (patch)
tree532f308b6f5baf0c385c2b557353d533c5be40a1 /distrib
parent7826e6bf70b50b5feaad650779c8108aee0d4778 (diff)
Tweak regexp replacing 'off' with 'on secure' so we don't end up with
'on secure secure'. ok deraadt@
Diffstat (limited to 'distrib')
-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 72d187a4930..26c8eed23bf 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.425 2008/03/04 00:36:38 krw Exp $
+# $OpenBSD: install.sub,v 1.426 2008/03/05 01:09:58 krw Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback
@@ -1546,7 +1546,7 @@ server $1
[[ $resp == done ]] && return
sed -e "/^$CTTY/s/std.9600/std.${resp}/" \
-e "/^$CTTY/s/unknown/vt220 /" \
- -e "/$CTTY/s/off/on secure/" /mnt/etc/ttys >/tmp/ttys
+ -e "/$CTTY/s/off.*/on secure/" /mnt/etc/ttys >/tmp/ttys
[[ -n $CPROM ]] && \
echo "stty $CPROM $resp\nset tty $CPROM" >>/mnt/etc/boot.conf