On 19/03/2008, André Detsch <[EMAIL PROTECTED]> wrote:
> On Wed, Mar 19, 2008 at 8:38 AM, <[EMAIL PROTECTED]> wrote:
> > + ifconfig ath${i} &> /dev/null && echo eth${i}
>
> Maybe (...) && echo ath${i}?
>
>
> > + ifconfig wlan${i} &> /dev/null && echo eth${i}
>
> Same here, but echo wlan${i}
>
> What about:
>
> for iface_type in eth ath wlan
> do
>
> for i in `seq 0 9`;
> do
>
> ifconfig ${iface_type}${i} &> /dev/null && echo ${iface_type}${i}
> done
> done
>
Of course! I'll change this, thanks. :)
--
/Jonas
_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel