diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-14 15:16:02 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-09-14 15:16:02 +0000 |
commit | 021fb2d7505d0caf7f1072a7789938ad416f5ec2 (patch) | |
tree | 69abe6db9038066e41a4291e50fa3614027a1a38 /distrib/miniroot/install.sub | |
parent | 7df10535c08fb86783174b571c9932dce7c8e8e9 (diff) |
use sed, not cut since not all platforms have cut on the floppy
Diffstat (limited to 'distrib/miniroot/install.sub')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 87a7f08b3df..a49a96c920a 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: install.sub,v 1.81 1998/09/12 08:33:57 deraadt Exp $ +# $OpenBSD: install.sub,v 1.82 1998/09/14 15:16:01 millert Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997,1998 Todd Miller, Theo de Raadt @@ -225,7 +225,7 @@ basename () { get_ifdevs() { # return available network devices - /sbin/ifconfig -a | egrep -v '^([[:space:]]|(lo|enc|ppp|sl|tun)[[:digit:]])' | cut -f 1 -d : + /sbin/ifconfig -a | egrep -v '^([[:space:]]|(lo|enc|ppp|sl|tun)[[:digit:]])' | sed 's/:.*//' } dir_has_sets() { |