summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-05-06 18:20:49 +0200
committerLennart Poettering <lennart@poettering.net>2014-05-06 18:20:49 +0200
commit7b8b9686e050a2b19ed2a3686af187dffaab5c08 (patch)
tree66960c6ad413358b7c6dc552fb7b5cdaf56d2c37
parent661278ee297247c0c7e0708924f8ce52284529fc (diff)
timesyncd: hook up systemd-timesyncd with systemd-timedated
Later on we will probably remove support for controlling any other NTP implementations but systemd-timesyncd, but for now, let's keep things generic
-rw-r--r--Makefile.am4
-rw-r--r--src/timesync/90-systemd.list1
2 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index dc5737e06a..669eb338dc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -101,6 +101,7 @@ udevrulesdir=$(udevlibexecdir)/rules.d
udevhwdbdir=$(udevlibexecdir)/hwdb.d
catalogdir=$(prefix)/lib/systemd/catalog
kernelinstalldir = $(prefix)/lib/kernel/install.d
+ntpunitsdir=$(prefix)/lib/systemd/ntp-units.d
# And these are the special ones for /
rootprefix=@rootprefix@
@@ -4055,6 +4056,9 @@ EXTRA_DIST += \
CLEANFILES += \
src/timesync/timesyncd.conf
+dist_ntpunits_DATA = \
+ src/timesync/90-systemd.list
+
endif
# ------------------------------------------------------------------------------
diff --git a/src/timesync/90-systemd.list b/src/timesync/90-systemd.list
new file mode 100644
index 0000000000..d5959ade89
--- /dev/null
+++ b/src/timesync/90-systemd.list
@@ -0,0 +1 @@
+systemd-timesyncd.service