diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-10 00:52:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-10 00:52:49 +0000 |
commit | f0c7caf38a86099b584445e62e77fd26d437f5b7 (patch) | |
tree | 9adc006bac5ea19db0568efc520574ec0c53a18a /distrib | |
parent | 19c5da633829eca27eb250512b0dd33a5e9a3de2 (diff) |
the interface list should not be sorted. use the order that ifconfig
chooses, since that is the order people are used to. krw remembered
some weird behaviour, but i tested and could not find it
ok krw
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/miniroot/install.sub | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index ecf2b4df09d..91e7396f793 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.577 2009/06/09 10:11:21 halex Exp $ +# $OpenBSD: install.sub,v 1.578 2009/06/10 00:52:48 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -126,9 +126,9 @@ get_cddevs () { } get_ifdevs() { - bsort $(ifconfig \ + ifconfig \ | egrep -v '^[[:space:]]|(bridge|enc|gif|gre|lo|pflog|pfsync|ppp|sl|tun)[[:digit:]]+:' \ - | sed -ne 's/^\(.*\):.*/\1/p') + | sed -ne 's/^\(.*\):.*/\1/p' } get_drive() { |