summaryrefslogtreecommitdiff
path: root/distrib/sun3/ramdisk/install.md
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-10-28 17:53:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-10-28 17:53:32 +0000
commit2e2aba77d09da12a4e120d741056698e6b32fc61 (patch)
tree9299b33b46d4a37a2b5f86e1cef80c72566e9c4c /distrib/sun3/ramdisk/install.md
parent5634baa1daa7963e129559d0445118d6a6cf3b32 (diff)
call check_kernel instead of having the same code in all the .md files
Diffstat (limited to 'distrib/sun3/ramdisk/install.md')
-rw-r--r--distrib/sun3/ramdisk/install.md20
1 files changed, 2 insertions, 18 deletions
diff --git a/distrib/sun3/ramdisk/install.md b/distrib/sun3/ramdisk/install.md
index 2d6fcb47314..5a533f62c32 100644
--- a/distrib/sun3/ramdisk/install.md
+++ b/distrib/sun3/ramdisk/install.md
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: install.md,v 1.2 1998/09/11 22:55:44 millert Exp $
+# $OpenBSD: install.md,v 1.3 1998/10/28 17:53:31 millert Exp $
# $NetBSD: install.md,v 1.1.2.4 1996/08/26 15:45:14 gwr Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -383,23 +383,7 @@ __md_prep_disklabel_1
}
md_copy_kernel() {
- if [ ! -s /mnt/bsd ]; then
- echo ""
- echo "Warning, no kernel installed!"
- echo "You did not unpack a file set containing a kernel."
- echo "This is needed to boot. Please note that the install"
- echo "install kernel is not suitable for general use."
- echo -n "Escape to shell add /mnt/bsd by hand? [y] "
- getresp "y"
- case "$resp" in
- y*|Y*)
- echo "Type 'exit' to return to install."
- sh
- ;;
- *)
- ;;
- esac
- fi
+ check_kernel
}
# Note, while they might not seem machine-dependent, the