summaryrefslogtreecommitdiff
path: root/distrib/powerpc
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/powerpc
parent17cf7d64011b0c939f500cc14e9a84bcfbc038f3 (diff)
Add md_machine_arch()
Diffstat (limited to 'distrib/powerpc')
-rw-r--r--distrib/powerpc/miniroot/install.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/distrib/powerpc/miniroot/install.md b/distrib/powerpc/miniroot/install.md
index f9e2c140425..6368f2383ec 100644
--- a/distrib/powerpc/miniroot/install.md
+++ b/distrib/powerpc/miniroot/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.3 1997/02/21 17:42:07 rahnds Exp $
+# $OpenBSD: install.md,v 1.4 1997/05/14 21:39:17 millert Exp $
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
#
@@ -56,6 +56,10 @@ md_set_term() {
export TERM
}
+md_machine_arch() {
+ cat /kern/machine
+}
+
md_get_diskdevs() {
egrep "^ofdisk[0-9] " < /kern/msgbuf | sed -e "s/ofdisk/sd/"
}