diff options
author | Julian Andres Klode <jak@debian.org> | 2017-09-10 15:31:16 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-09-10 15:31:16 +0200 |
commit | 28afe64a0f1c32c085615b84b1065015f869b9d3 (patch) | |
tree | 3115ea77af9dff298d4a4357268889500bc8fa7c /cmdline | |
parent | 53f7fb3caad96bd7fb9af73d4ac964c67204798a (diff) |
apt-helper: Add connman support to wait-online
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-helper.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |