summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>1999-10-12 06:02:02 +0000
committerMats O Jansson <maja@cvs.openbsd.org>1999-10-12 06:02:02 +0000
commit0aa495c70862beb63f004b1bce693944a94643cf (patch)
tree16354e5bd536541a7e8b7d276b79b73cfd760a79
parent532fa60d1ed2957f8faa8596fb8410569e0e467f (diff)
add md_get_ifdev. -moj
-rw-r--r--distrib/pmax/install.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/distrib/pmax/install.md b/distrib/pmax/install.md
index f696d4c4aa2..28690f58bb9 100644
--- a/distrib/pmax/install.md
+++ b/distrib/pmax/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.13 1999/09/03 18:55:33 deraadt Exp $
+# $OpenBSD: install.md,v 1.14 1999/10/12 06:02:01 maja Exp $
# $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $
#
#
@@ -114,6 +114,11 @@ md_get_cddevs() {
grep "^rz[0-6] " < /kern/msgbuf | cut -d" " -f1 | sort -u
}
+md_get_ifdevs() {
+ # return available network devices
+ grep "^le[0-9] " < /kern/msgbuf | cut -d" " -f1 | sort -u
+}
+
md_get_partition_range() {
# return range of valid partition letters
echo "[a-p]"