summaryrefslogtreecommitdiff
path: root/distrib/zaurus/ramdisk
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-12-02 21:17:18 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-12-02 21:17:18 +0000
commit080142d31138245ab5a7f7661946189608939304 (patch)
tree8f92b35dc88f858ed22989083e0a812542ae653b /distrib/zaurus/ramdisk
parentb445bc63fe83ad0ba0a7d67fee788ea00d3c9fd8 (diff)
If (O)penBSD is not offered as a partitioning option, do not accept
'O*|o*' as a valid response. Ignore it as we do other invalid input. armv7 is special case to be handled separately. Noticed by kettenis@. ok deraadt@ rpe@
Diffstat (limited to 'distrib/zaurus/ramdisk')
-rw-r--r--distrib/zaurus/ramdisk/install.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/distrib/zaurus/ramdisk/install.md b/distrib/zaurus/ramdisk/install.md
index faa0b945000..9a6152ad2bd 100644
--- a/distrib/zaurus/ramdisk/install.md
+++ b/distrib/zaurus/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.37 2015/11/09 20:54:12 rpe Exp $
+# $OpenBSD: install.md,v 1.38 2015/12/02 21:17:17 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -72,7 +72,9 @@ __EOT
fdisk -e ${_disk}
fdisk $_disk | grep -q ' A6 ' && return
echo No OpenBSD partition in MBR, try again. ;;
- o*|O*) return ;;
+ o*|O*)
+ [[ $_d == OpenBSD ]] || continue
+ return ;;
esac
done
}