package/initscripts: S40network: wait for network interfaces to appear
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 3 Oct 2015 13:31:45 +0000 (14:31 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 16 Oct 2015 07:16:58 +0000 (09:16 +0200)
commit49964858f45d2243c513e6d362e992ad89ec7a45
treef2154d97ddd10bcd8efda82c2a507124984d7802
parentb2c97f7802c812380c1783de5027b90ef52bfd5d
package/initscripts: S40network: wait for network interfaces to appear

On some machines, the network interface is slow to appear. For example,
on the Raspberry Pi, the network interface eth0 is an ethernet-over-USB,
and our standard boot process is too fast, so our network startup script
is called before the USB bus is compeltely enumerated, thus it can't
configure eth0.

Closes #8116.

[Peter: move to S40network, handle multiple interfaces]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/initscripts/init.d/S40network