diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-03-31 17:30:32 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-03-31 17:30:32 +0000 |
commit | 0ac3ae1f43dc0de4f4a64dc45569c38ff5885946 (patch) | |
tree | 3ec610b10a08e9169ea99b34e483f0202affecba /distrib/hp300/ramdisk/install.md | |
parent | d4c4b170da36ab5d761959ee920ea57a18ac559e (diff) |
bit of shrinkage, krw ok
Diffstat (limited to 'distrib/hp300/ramdisk/install.md')
-rw-r--r-- | distrib/hp300/ramdisk/install.md | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md index 75c7e6f3725..b98b3ca070d 100644 --- a/distrib/hp300/ramdisk/install.md +++ b/distrib/hp300/ramdisk/install.md @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: install.md,v 1.23 2001/12/23 01:51:52 krw Exp $ +# $OpenBSD: install.md,v 1.24 2002/03/31 17:30:30 deraadt Exp $ # $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -37,13 +37,12 @@ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. # - # # machine dependent section of installation/upgrade script # # Machine-dependent install sets -MDSETS="kernel" +MDSETS=kernel ARCH=ARCH md_set_term() { @@ -151,12 +150,8 @@ __scsi_label_1 echo -n "Review boot messages now? [y] " getresp "y" case "$resp" in - y*|Y*) - dmesg | less -rsS - ;; - - *) - ;; + y*|Y*) dmesg | less -rsS + ;; esac echo "" @@ -306,15 +301,12 @@ hp300_init_label_hpib_disk() { echo -n "Try a different method? [y] " getresp "y" case "$resp" in - y*|Y*) - hp300_init_label_scsi_disk $1 - return - ;; - - *) - rval="1" - return - ;; + y*|Y*) hp300_init_label_scsi_disk $1 + return + ;; + *) rval="1" + return + ;; esac fi @@ -329,14 +321,11 @@ md_prep_disklabel() _disk=$1 md_checkfordisklabel $_disk case $? in - 0) - ;; - 1) - echo "WARNING: Disk $_disk has no label. You will be creating a new one." + 0) ;; + 1) echo "WARNING: Disk $_disk has no label. You will be creating a new one." echo ;; - 2) - echo "WARNING: Label on disk $_disk is corrupted. You will be repairing." + 2) echo "WARNING: Label on disk $_disk is corrupted. You will be repairing." echo ;; esac |