chiark / gitweb /
timesyncd: hook up systemd-timesyncd with systemd-timedated
authorLennart Poettering <lennart@poettering.net>
Tue, 6 May 2014 16:20:49 +0000 (18:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 May 2014 16:20:49 +0000 (18:20 +0200)
Later on we will probably remove support for controlling any other NTP
implementations but systemd-timesyncd, but for now, let's keep things
generic

Makefile.am
src/timesync/90-systemd.list [new file with mode: 0644]

index dc5737e..669eb33 100644 (file)
@@ -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 (file)
index 0000000..d5959ad
--- /dev/null
@@ -0,0 +1 @@
+systemd-timesyncd.service