diff options
Diffstat (limited to 'distrib/amd64')
-rw-r--r-- | distrib/amd64/common/install.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/amd64/common/install.md b/distrib/amd64/common/install.md index c8a8738b9c3..99332b6908a 100644 --- a/distrib/amd64/common/install.md +++ b/distrib/amd64/common/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.39 2015/05/31 19:40:10 rpe Exp $ +# $OpenBSD: install.md,v 1.40 2015/06/02 19:39:18 rpe Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -51,9 +51,9 @@ md_prep_fdisk() { while :; do _d=whole - if [[ -n $(fdisk $_disk | grep 'Signature: 0xAA55') ]]; then + if fdisk $_disk | grep -q 'Signature: 0xAA55'; then fdisk $_disk - if [[ -n $(fdisk $_disk | grep '^..: A6 ') ]]; then + if fdisk $_disk | grep -q '^..: A6 '; then _q=", use the (O)penBSD area," _d=OpenBSD fi @@ -84,7 +84,7 @@ must be marked as the only active partition. Inside the fdisk command, the $(fdisk ${_disk}) __EOT fdisk -e ${_disk} - [[ -n $(fdisk $_disk | grep ' A6 ') ]] && return + fdisk $_disk | grep -q ' A6 ' && return echo No OpenBSD partition in MBR, try again. ;; o*|O*) return ;; esac |