diff options
Diffstat (limited to 'distrib/armv7/ramdisk/install.md')
-rw-r--r-- | distrib/armv7/ramdisk/install.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/armv7/ramdisk/install.md b/distrib/armv7/ramdisk/install.md index a70e1c02d9b..1d5e2a2f50b 100644 --- a/distrib/armv7/ramdisk/install.md +++ b/distrib/armv7/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.10 2015/06/02 01:48:25 jsg Exp $ +# $OpenBSD: install.md,v 1.11 2015/06/02 19:39:19 rpe Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -136,7 +136,7 @@ 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 else echo "MBR has invalid signature; not showing it." @@ -180,7 +180,7 @@ at least 16MB and be the first 'MSDOS' partition on the disk. $(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 |