summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-02-28 01:02:01 +0100
committerTom Gundersen <teg@jklm.no>2014-02-28 01:17:38 +0100
commit020d59000f86b3d98be763eaee6a2671f0427e46 (patch)
tree174fd53c7a70b96f52a74b3a05fdcad7fdbf92f5 /Makefile.am
parentfe8db0c5ee3365a2fc80ee7ebffa238f9a0a2ae2 (diff)
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am10
1 files changed, 10 insertions, 0 deletions
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