On Fri, 2011-11-04 at 17:58 +0800, Ni Qingliang wrote: > I have checked the version of ifconfig, it blongs to package > "net-tools". > > only the latest version 1.60.20110819cvs-1 have the ":" after Interface > name. In this version, the output format of ifconfig has changed.
Parsing the output of ifconfig isn't a very good way to get a list of devices (not least because ifconfig isn't guaranteed to be available). It would be better to read /proc/net/dev directly since this file is intended to be machine-readable. p. _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
