networkd-wait-online: wait for addresses to be configured
This commit is contained in:
parent
e56f363803
commit
473dfd7bd5
5
TODO
5
TODO
|
@ -709,9 +709,8 @@ Features:
|
||||||
- add veth netdev support (c.f. http://shorewall.net/bridge-Shorewall-perl.html#veth)
|
- add veth netdev support (c.f. http://shorewall.net/bridge-Shorewall-perl.html#veth)
|
||||||
- add tun/tap netdev support
|
- add tun/tap netdev support
|
||||||
|
|
||||||
* dhcp:
|
* networkd-wait-online:
|
||||||
- export timezone information
|
- make operstates to wait for configurable?
|
||||||
- FORCERENEW
|
|
||||||
|
|
||||||
* dhcp:
|
* dhcp:
|
||||||
- export timezone information
|
- export timezone information
|
||||||
|
|
|
@ -183,7 +183,9 @@ static bool all_configured(Manager *m) {
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
r = sd_network_get_link_operational_state(indices[i], &oper_state);
|
r = sd_network_get_link_operational_state(indices[i], &oper_state);
|
||||||
if (r >= 0 && streq(oper_state, "carrier"))
|
if (r >= 0 &&
|
||||||
|
(streq(oper_state, "degraded") ||
|
||||||
|
streq(oper_state, "routable")))
|
||||||
/* we wait for at least one link to be ready,
|
/* we wait for at least one link to be ready,
|
||||||
regardless of who manages it */
|
regardless of who manages it */
|
||||||
one_ready = true;
|
one_ready = true;
|
||||||
|
|
Loading…
Reference in New Issue