1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src/timesync
Zbigniew Jędrzejewski-Szmek c566ee3253 timesyncd: only listen to clock changes when connected
This reverts previous commit and applies a different fix.

manager_clock_watch() callback calls manager_send_request() to kick
off a resync. We can only do that when we're actually connected to
something. It is not useful to setup the callback from manager_new().

Now the callback will be dropped in manager_connect() and requested
in manager_begin().

https://bugs.freedesktop.org/show_bug.cgi?id=80932
2014-07-15 09:52:19 -04:00
..
.gitignore timesyncd: read server settings from a configuration file 2014-05-06 17:02:11 +02:00
90-systemd.list timesyncd: hook up systemd-timesyncd with systemd-timedated 2014-05-06 18:20:49 +02:00
Makefile timesyncd: read server settings from a configuration file 2014-05-06 17:02:11 +02:00
timesyncd-gperf.gperf timesyncd: read server settings from a configuration file 2014-05-06 17:02:11 +02:00
timesyncd.c timesyncd: only listen to clock changes when connected 2014-07-15 09:52:19 -04:00
timesyncd.conf.in timesyncd: read server settings from a configuration file 2014-05-06 17:02:11 +02:00
timesyncd.h timesyncd: only update stamp file when we are synchronized 2014-05-24 08:04:56 +08:00