summaryrefslogtreecommitdiff
path: root/distrib/landisk
diff options
context:
space:
mode:
authorRobert Peichaer <rpe@cvs.openbsd.org>2015-12-29 11:16:15 +0000
committerRobert Peichaer <rpe@cvs.openbsd.org>2015-12-29 11:16:15 +0000
commitce588e0f2011ecfa2929d25676e93475f9644cfb (patch)
tree897a33e1809416625eb93683c0ad09ba3a1a2f7c /distrib/landisk
parent74f7c840cad3e1dff186088b4fb148193beea69c (diff)
Change patterns in case-blocks from a*|A* to [aA]*
OK halex@ krw@
Diffstat (limited to 'distrib/landisk')
-rw-r--r--distrib/landisk/ramdisk/install.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/landisk/ramdisk/install.md b/distrib/landisk/ramdisk/install.md
index 9e9a74d0372..17dd2031f3d 100644
--- a/distrib/landisk/ramdisk/install.md
+++ b/distrib/landisk/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.39 2015/12/18 16:20:58 rpe Exp $
+# $OpenBSD: install.md,v 1.40 2015/12/29 11:16:14 rpe Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -56,12 +56,12 @@ md_prep_fdisk() {
fi
ask "Use (W)hole disk$_q or (E)dit the MBR?" "$_d"
case $resp in
- w*|W*)
+ [wW]*)
echo -n "Setting OpenBSD MBR partition to whole $_disk..."
fdisk -iy $_disk >/dev/null
echo "done."
return ;;
- e*|E*)
+ [eE]*)
# Manually configure the MBR.
cat <<__EOT
@@ -75,7 +75,7 @@ __EOT
fdisk -e ${_disk}
disk_has $_disk mbr openbsd && return
echo No OpenBSD partition in MBR, try again. ;;
- o*|O*)
+ [oO]*)
[[ $_d == OpenBSD ]] || continue
return ;;
esac