summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-15 05:13:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-15 05:13:10 +0000
commit96e18a8aab19a2b225132e84aaf6252c197fb500 (patch)
tree431e15228d3230a5a21ebd70e0e6ffa8286908fc /distrib
parent0140a40de243303dc3da563bff5793b8516aa69e (diff)
Bitch if md_installboot called with no args.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/alpha/ramdisk/install.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/distrib/alpha/ramdisk/install.md b/distrib/alpha/ramdisk/install.md
index 54a6a254349..ce25b851b78 100644
--- a/distrib/alpha/ramdisk/install.md
+++ b/distrib/alpha/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.7 1997/05/15 03:44:10 millert Exp $
+# $OpenBSD: install.md,v 1.8 1997/05/15 05:13:09 millert Exp $
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
#
@@ -111,6 +111,10 @@ md_get_partition_range() {
md_installboot() {
local _rawdev
+ if [ "X${1}" = X"" ]; then
+ echo "No disk device specified, you must run installboot manually."
+ return
+ fi
_rawdev=/dev/r${1}c
# use extracted mdec if it exists (may be newer)