From 7aca272d1c500528f268ce38363995c905235d0a Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sun, 12 Apr 2009 12:56:03 +0000 Subject: Tweak pattern used to select partition lines for display so the '# /dev/r...' line is not selected. Noticed by deraadt@ --- distrib/hppa/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'distrib/hppa/install.md') diff --git a/distrib/hppa/install.md b/distrib/hppa/install.md index 79c70154c36..3643662631d 100644 --- a/distrib/hppa/install.md +++ b/distrib/hppa/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.10 2009/04/12 01:35:01 krw Exp $ +# $OpenBSD: install.md,v 1.11 2009/04/12 12:56:01 krw Exp $ # # machine dependent section of installation/upgrade script. # @@ -20,7 +20,7 @@ md_prep_disklabel() { if [[ $_disk == $ROOTDISK ]]; then while :; do echo "The auto-allocated layout for $_disk is:" - disklabel -A $_disk | egrep "^#|^ [a-p]:" + disklabel -A $_disk | egrep "^# |^ [a-p]:" ask "Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout?" a case $resp in a*|A*) _op=-w ; AUTOROOT=y ;; -- cgit v1.2.3