[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#491712: firmware for iwl4965 is asked in disk-detect (was: installation-reports: HP lenovo R61i laptop)



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$"



Reply to: