From 72944efc566b5419a9952a6ccef7fb23add34678 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Wed, 5 Mar 2008 01:09:59 +0000 Subject: Tweak regexp replacing 'off' with 'on secure' so we don't end up with 'on secure secure'. ok deraadt@ --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'distrib') 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 -- cgit v1.2.3