f8eba14d99
As described in the bug, there are conditions with certain switches in which the interface is 'admin down'ed during initialization. Doing a 'cat' on /sys/class/net/<interface>/carrier when it is 'admin down'ed produces an 'Invalid Argument' error and the script terminates. What this fix does is ignore failures of the 'cat' operation (by '|| echo 0') and place the link up inside the retry loop. Change-Id: I4f098aa5078b8482681394a3e9a6b17ed4bd4451 Closes-Bug: 1654046 |
||
---|---|---|
.. | ||
50-dhcp-all-interfaces | ||
60-remove-cloud-image-interfaces | ||
dhcp-all-interfaces-udev.rules | ||
dhcp-all-interfaces.conf | ||
dhcp-all-interfaces.init | ||
dhcp-all-interfaces.sh | ||
dhcp-interface@.service |