summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-helper.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdline/apt-helper.cc b/cmdline/apt-helper.cc
index 30647048b..af8421f41 100644
--- a/cmdline/apt-helper.cc
+++ b/cmdline/apt-helper.cc
@@ -199,6 +199,7 @@ static bool ServiceIsActive(const char *service)
static bool DoWaitOnline(CommandLine &CmdL)
{
+ // Also add services to After= in .service
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},