chiark / gitweb /
timedated: replace systemd-timedated-ntp.target logic with simpler scheme
authorLennart Poettering <lennart@poettering.net>
Sun, 1 Jul 2012 15:37:21 +0000 (17:37 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Jul 2012 08:43:56 +0000 (10:43 +0200)
commitac7019f33f1618f5b69ed44a8623e2596f1e3856
treedebfa0184b8c05760825f5e6c7ad00c0a3452d9e
parentb1239c3fb3d19ff7273a8e5ead5c42f055d10b92
timedated: replace systemd-timedated-ntp.target logic with simpler scheme

The previous systemd-timedated-ntp.target was suffering by the problem
that NTP implementations enabled via the machanism could not be disabled
the obvious way on the "systemctl disable" command line. Replace
systemd-timedated-ntp.target by a list of implementations we try in
turn. The list is encoded in $pkgdatadir/ntp-units.
Makefile.am
src/timedate/ntp-units [new file with mode: 0644]
src/timedate/timedated.c
units/systemd-timedated-ntp.target [deleted file]