From 28afe64a0f1c32c085615b84b1065015f869b9d3 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 10 Sep 2017 15:31:16 +0200 Subject: apt-helper: Add connman support to wait-online --- cmdline/apt-helper.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cmdline') diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc index 1f1285eb4..30647048b 100644 --- a/cmdline/apt-helper.cc +++ b/cmdline/apt-helper.cc @@ -201,7 +201,9 @@ static bool DoWaitOnline(CommandLine &CmdL) { static const char *WaitingTasks[][6] = { {"systemd-networkd.service", "/lib/systemd/systemd-networkd-wait-online", "-q", "--timeout=30", nullptr}, - {"NetworkManager.service", "nm-online", "-q", "--timeout", "30", nullptr}}; + {"NetworkManager.service", "nm-online", "-q", "--timeout", "30", nullptr}, + {"connman.service", "connmand-wait-online", "--timeout=30", nullptr}, + }; for (const char **task : WaitingTasks) { -- cgit v1.2.3