diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-04-12 12:56:03 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2009-04-12 12:56:03 +0000 |
commit | 7aca272d1c500528f268ce38363995c905235d0a (patch) | |
tree | d2038867d04f2af7f6d789d3d535d99a81d81406 /distrib/sparc/install.md | |
parent | 2ff52594a534350dc80c08c5d92691444d7343bb (diff) |
Tweak pattern used to select partition lines for display so the
'# /dev/r...' line is not selected.
Noticed by deraadt@
Diffstat (limited to 'distrib/sparc/install.md')
-rw-r--r-- | distrib/sparc/install.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/sparc/install.md b/distrib/sparc/install.md index da7fd9f2e23..5c4c5766991 100644 --- a/distrib/sparc/install.md +++ b/distrib/sparc/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.57 2009/04/12 01:35:01 krw Exp $ +# $OpenBSD: install.md,v 1.58 2009/04/12 12:56:02 krw Exp $ # $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $ # # @@ -64,7 +64,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 ;; |