summaryrefslogtreecommitdiff
path: root/distrib/hp300/ramdisk/install.md
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-05-14 21:39:19 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-05-14 21:39:19 +0000
commita67db483c81021077d3ca6f872bdc4abc5c3ea8d (patch)
treed4ecfaa809a9a0a7df4db46ef8dde6c1ace06900 /distrib/hp300/ramdisk/install.md
parent17cf7d64011b0c939f500cc14e9a84bcfbc038f3 (diff)
Add md_machine_arch()
Diffstat (limited to 'distrib/hp300/ramdisk/install.md')
-rw-r--r--distrib/hp300/ramdisk/install.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md
index 9d021888e8c..dbe99ad8604 100644
--- a/distrib/hp300/ramdisk/install.md
+++ b/distrib/hp300/ramdisk/install.md
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: install.md,v 1.4 1997/04/21 07:32:11 downsj Exp $
+# $OpenBSD: install.md,v 1.5 1997/05/14 21:39:12 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.
@@ -106,6 +106,10 @@ __kernfs_failed_1
> ${KERNFSMOUNTED}
}
+md_machine_arch() {
+ cat /kern/machine
+}
+
md_get_diskdevs() {
# return available disk devices
egrep "^hd[0-9]*:." < /kern/msgbuf | cut -d":" -f1 | sort -u