From 020d59000f86b3d98be763eaee6a2671f0427e46 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Fri, 28 Feb 2014 01:02:01 +0100 Subject: networkd: add networkd-wait-online This is mostly a proof of concept to try sd-network, so we don't hook it up with a .service file quite yet. We probably want it to be more clever about deciding when we are 'online'. The binary will wait for at least one network managed by networkd, and until all networks managed by networkd are configured. --- Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index b7c38b6871..6be64070f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4047,6 +4047,16 @@ nodist_systemunit_DATA += \ GENERAL_ALIASES += \ $(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service +rootlibexec_PROGRAMS += \ + systemd-networkd-wait-online + +systemd_networkd_wait_online_SOURCES = \ + src/network/networkd-wait-online.c + +systemd_networkd_wait_online_LDADD = \ + libsystemd-internal.la \ + libsystemd-network.la + test_network_SOURCES = \ src/network/test-network.c -- cgit v1.2.3-54-g00ecf