summaryrefslogtreecommitdiff
path: root/distrib/hppa
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2003-09-18 00:02:43 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2003-09-18 00:02:43 +0000
commit65d1cfd9095e2d6a5368e21e7e52945670e03ef1 (patch)
tree56d0bc2df76401026780f1ca8921bcf0efad3853 /distrib/hppa
parente8e7df3ace4f8b8475f621e04690dbb60532e115 (diff)
Excise unneeded, unused code.
ok mickey@.
Diffstat (limited to 'distrib/hppa')
-rw-r--r--distrib/hppa/install.md23
1 files changed, 3 insertions, 20 deletions
diff --git a/distrib/hppa/install.md b/distrib/hppa/install.md
index fe775a8db41..e161a378233 100644
--- a/distrib/hppa/install.md
+++ b/distrib/hppa/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.1 2003/01/30 21:05:00 mickey Exp $
+# $OpenBSD: install.md,v 1.2 2003/09/18 00:02:42 krw Exp $
#
# machine dependent section of installation/upgrade script.
#
@@ -12,26 +12,9 @@ md_set_term() {
}
md_installboot() {
- local _rawdev _prefix
-
- if [ -z "$1" ]; 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)
- if [ -e /mnt/usr/mdec/boot ]; then
- _prefix=/mnt/usr/mdec
- elif [ -e /usr/mdec/boot ]; then
- _prefix=/usr/mdec
- else
- echo No boot block prototypes found, you must run installboot manually.
- return
- fi
-
- echo Installing boot block...
+ echo -n "Installing boot block..."
/sbin/disklabel -B $1
+ echo "done."
}
md_checkfordisklabel() {