From: Michael Biebl Date: Sun, 29 Mar 2015 22:58:43 +0200 Subject: systemd: Don't enable NetworkManager-wait-online.service statically Instead we are going to hook up the service in network-online.target dynamically via [Install] WantedBy=network-online.target This way the user can easily disable the service. --- Makefile.am | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 33761182..7a4319a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3309,12 +3309,6 @@ endif data/NetworkManager-dispatcher.service: $(srcdir)/data/NetworkManager-dispatcher.service.in $(AM_V_GEN) $(data_edit) $< >$@ -install-exec-local-data: - install -d $(DESTDIR)$(systemdsystemunitdir)/network-online.target.wants - ln -sf $(systemdsystemunitdir)/NetworkManager-wait-online.service $(DESTDIR)$(systemdsystemunitdir)/network-online.target.wants - -install_exec_local += install-exec-local-data - endif examples_DATA += data/server.conf