On Wednesday 23 July 2008, you wrote: > Frans Pop wrote: > > On Wednesday 23 July 2008, Joey Hess wrote: > > > +lsifaces () { > > > + sed -e "s/lo://" < /proc/net/dev | grep "[a-z0-9]*:[ ]*[0-9]*" | > > > sed "s/:.*//; s/^ *//" +} > > > > Use 'ls /sys/class/net/' instead? > > That would probably be a good idea if someone wants to do it.. above > code was already in ethdetect and just factored out.
You change has not yet be committed though, so this could be taken along. It would just be: ls -1 /sys/class/net | grep -v "^lo$" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]