[Buildroot] [git commit] package/initscripts: S40network: wait for network interfaces to appear

Peter Korsgaard peter at korsgaard.com
Mon Oct 26 20:56:32 UTC 2015


>>>>> "Maury" == Maury Anderson <maury.anderson at rockwellcollins.com> writes:

 > I believe both suggestions should be added.

Indeed.

> Thank you for the awk magic.  The modified awk magic creates duplicates,
 > for instance if you had "lo eth3 eth3:1 eth3:2" you end up with "lo eth3
 > eth3 eth3".  The duplicates don't hurt anything, just waste time in the
 > loop.  Can we pipe it through uniq?  (Provided uniq is in the default
 > busybox.)

We could, but as we are already waiting, the trivial overhead of a few
more stat("/sys/class/net/<iface>") calls imho isn't worth requiring
uniq for.

-- 
Venlig hilsen,
Peter Korsgaard 



More information about the buildroot mailing list