From 96e18a8aab19a2b225132e84aaf6252c197fb500 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 15 May 1997 05:13:10 +0000 Subject: Bitch if md_installboot called with no args. --- distrib/alpha/ramdisk/install.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'distrib') 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) -- cgit v1.2.3