From 473dfd7bd5a74b4724818ab8a764c072335fd510 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Mon, 19 May 2014 21:57:10 +0200 Subject: networkd-wait-online: wait for addresses to be configured --- src/network/networkd-wait-online.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/network') 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; -- cgit v1.2.3-54-g00ecf