diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-19 21:57:10 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-19 22:00:35 +0200 |
commit | 473dfd7bd5a74b4724818ab8a764c072335fd510 (patch) | |
tree | 87f13b49097740c7fb117df9004926a8da3d1d61 /src/network/networkd-wait-online.c | |
parent | e56f36380365b5825f0920b0f00a459edc0b2e84 (diff) |
networkd-wait-online: wait for addresses to be configured
Diffstat (limited to 'src/network/networkd-wait-online.c')
-rw-r--r-- | src/network/networkd-wait-online.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/networkd-wait-online.c b/src/network/networkd-wait-online.c index 3ea7a8384e..0b8e35d693 100644 --- a/src/network/networkd-wait-online.c +++ b/src/network/networkd-wait-online.c @@ -183,7 +183,9 @@ static bool all_configured(Manager *m) { return false; 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, regardless of who manages it */ one_ready = true; |