diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-11 22:55:47 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-11 22:55:47 +0000 |
commit | 905786119ba5116c9568dbb26deeac7f94956327 (patch) | |
tree | 70713a94d02dd8ba554f1d9e5726536bec720d89 /distrib | |
parent | db5ffb6c72e5da2df4be7190d6f60986dd63d33c (diff) |
kill md_get_ifdevs, miniroot/install.sub uses mi version now
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/alpha/ramdisk/install.md | 7 | ||||
-rw-r--r-- | distrib/amiga/install.md | 10 | ||||
-rw-r--r-- | distrib/arc/ramdisk/install.md | 7 | ||||
-rw-r--r-- | distrib/hp300/ramdisk/install.md | 7 | ||||
-rw-r--r-- | distrib/i386/floppies/ramdisk/install.md | 7 | ||||
-rw-r--r-- | distrib/pmax/install.md | 7 | ||||
-rw-r--r-- | distrib/sparc/install.md | 9 | ||||
-rw-r--r-- | distrib/sun3/ramdisk/install.md | 7 |
8 files changed, 8 insertions, 53 deletions
diff --git a/distrib/alpha/ramdisk/install.md b/distrib/alpha/ramdisk/install.md index 8dfa56f4cef..92b24bc0eca 100644 --- a/distrib/alpha/ramdisk/install.md +++ b/distrib/alpha/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.22 1998/09/06 08:51:08 deraadt Exp $ +# $OpenBSD: install.md,v 1.23 1998/09/11 22:55:46 millert Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -99,11 +99,6 @@ md_get_cddevs() { md_get_msgbuf | egrep "^a?cd[0-9]+ " | sed 's/ .*//' } -md_get_ifdevs() { - # return available network devices - md_get_msgbuf | egrep "(^e[dp][0-9] |^xl[0-9] |^[dl]e[0-9] |fxp[0-9])" | sed -e 's/^ *//' -e 's/ .*//' -} - md_get_partition_range() { # return range of valid partition letters echo "[a-p]" diff --git a/distrib/amiga/install.md b/distrib/amiga/install.md index ac101aecfa5..fb27c591e25 100644 --- a/distrib/amiga/install.md +++ b/distrib/amiga/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.5 1998/03/27 23:49:34 deraadt Exp $ +# $OpenBSD: install.md,v 1.6 1998/09/11 22:55:45 millert Exp $ # $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $ # # @@ -87,14 +87,6 @@ md_get_cddevs() { sed -n -e '/^a\{0,1\}cd[0-9] /{s/ .*//;p;}' < $MSGBUF } -md_get_ifdevs() { - # return available network devices - sed -n -e '/^[al]e[0-9] /{s/ .*//;p;}' -e '/^qn[0-9] /{s/ .*//;p;}' \ - -e '/^\(isa\)\{0,1\}ed[0-9] /{s/ .*//;p;}' \ - -e '/^bah[0-9] /{s/ .*//;p;}' -e '/^es[0-9] /{s/ .*//;p;}' \ - < $MSGBUF -} - md_get_partition_range() { # return range of valid partition letters echo "[a-p]" diff --git a/distrib/arc/ramdisk/install.md b/distrib/arc/ramdisk/install.md index 5434fd801d1..deca3a4b2b1 100644 --- a/distrib/arc/ramdisk/install.md +++ b/distrib/arc/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.7 1998/03/25 11:57:23 pefo Exp $ +# $OpenBSD: install.md,v 1.8 1998/09/11 22:55:44 millert Exp $ # # # Copyright rc) 1996 The NetBSD Foundation, Inc. @@ -74,11 +74,6 @@ md_get_cddevs() { cat /kern/msgbuf | egrep "^a?cd[0-9] " | cut -d" " -f1 | sort -u } -md_get_ifdevs() { - # return available network devices - cat /kern/msgbuf | egrep "^(sn[0-9] |e[dglp][0-9] |[dil]e[0-9] |f[ep]a[0-9] )" | cut -d" " -f1 | sort -u -} - md_get_partition_range() { # return range of valid partition letters echo "[a-p]" diff --git a/distrib/hp300/ramdisk/install.md b/distrib/hp300/ramdisk/install.md index 9c0f367832e..a4665d62e34 100644 --- a/distrib/hp300/ramdisk/install.md +++ b/distrib/hp300/ramdisk/install.md @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: install.md,v 1.11 1998/08/23 17:48:52 kstailey Exp $ +# $OpenBSD: install.md,v 1.12 1998/09/11 22:55:45 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. @@ -122,11 +122,6 @@ md_get_cddevs() { egrep "sd[0-9]*:.*CD-ROM" < /kern/msgbuf | cut -d":" -f1 | sort -u } -md_get_ifdevs() { - # return available network interfaces - egrep "^le[0-9]*:" < /kern/msgbuf | cut -d":" -f1 | sort -u -} - md_get_partition_range() { # return range of valid partition letters echo "[a-p]" diff --git a/distrib/i386/floppies/ramdisk/install.md b/distrib/i386/floppies/ramdisk/install.md index 44c056e9f42..086eae9bfd7 100644 --- a/distrib/i386/floppies/ramdisk/install.md +++ b/distrib/i386/floppies/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.37 1998/09/02 04:47:03 deraadt Exp $ +# $OpenBSD: install.md,v 1.38 1998/09/11 22:55:45 millert Exp $ # # # Copyright rc) 1996 The NetBSD Foundation, Inc. @@ -70,11 +70,6 @@ md_get_cddevs() { cat /kern/msgbuf | egrep "^a?cd[0-9]+ " | cut -d" " -f1 | sort -u } -md_get_ifdevs() { - # return available network devices - cat /kern/msgbuf | egrep "^(e[dglp][0-9] |[dil]e[0-9] |xl[0-9] |f[ep]a[0-9] |fxp[0-9])" | cut -d" " -f1 | sort -u -} - md_get_partition_range() { # return range of valid partition letters echo "[a-p]" diff --git a/distrib/pmax/install.md b/distrib/pmax/install.md index 184fc970b40..2ab6017f5a1 100644 --- a/distrib/pmax/install.md +++ b/distrib/pmax/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.8 1998/05/12 16:29:39 millert Exp $ +# $OpenBSD: install.md,v 1.9 1998/09/11 22:55:44 millert Exp $ # $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $ # # @@ -115,11 +115,6 @@ 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]" diff --git a/distrib/sparc/install.md b/distrib/sparc/install.md index 1c515224204..8e7f246250b 100644 --- a/distrib/sparc/install.md +++ b/distrib/sparc/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.20 1998/07/20 08:02:56 todd Exp $ +# $OpenBSD: install.md,v 1.21 1998/09/11 22:55:45 millert Exp $ # $NetBSD: install.md,v 1.3.2.5 1996/08/26 15:45:28 gwr Exp $ # # @@ -122,13 +122,6 @@ md_get_cddevs() { -e '/^cd[0-9] /{s/ .*//;p;}' } -md_get_ifdevs() { - # return available network devices - md_get_msgbuf | sed -n -e '1,/^OpenBSD /d' \ - -e '/^[bli]e[0-9] /{s/ .*//;p;}' \ - -e '/^hme[0-9] /{s/ .*//;p;}' -} - md_get_partition_range() { # return range of valid partition letters echo "[a-p]" diff --git a/distrib/sun3/ramdisk/install.md b/distrib/sun3/ramdisk/install.md index 9e2ddecd7f5..2d6fcb47314 100644 --- a/distrib/sun3/ramdisk/install.md +++ b/distrib/sun3/ramdisk/install.md @@ -1,6 +1,6 @@ #!/bin/sh # -# $OpenBSD: install.md,v 1.1 1998/08/23 18:09:05 kstailey Exp $ +# $OpenBSD: install.md,v 1.2 1998/09/11 22:55:44 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. @@ -121,11 +121,6 @@ md_get_cddevs() { egrep "sd[0-9]*:.*CD-ROM" < /kern/msgbuf | cut -d":" -f1 | sort -u } -md_get_ifdevs() { - # return available network interfaces - egrep "^[il]e[0-9]*:" < /kern/msgbuf | cut -d":" -f1 | sort -u -} - md_get_partition_range() { # return range of valid partition letters echo "[a-p]" |