Robin Lee Powell wrote:

> +       for nic in $(ifconfig -a | grep '^[^ ]' | grep -v '^lo' |
>                                        sed 's/ .*//' | tr '\012' ' ')

That's horrible. What's wrong with:

 for IF in /sys/class/net/*
 do
     # ...
 done


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org
       `-

Attachment: signature.asc
Description: PGP signature

Reply via email to