From 0aa495c70862beb63f004b1bce693944a94643cf Mon Sep 17 00:00:00 2001 From: Mats O Jansson Date: Tue, 12 Oct 1999 06:02:02 +0000 Subject: add md_get_ifdev. -moj --- distrib/pmax/install.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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]" -- cgit v1.2.3