Hi, The two first patches make timeserver handling use TimeUpdates Clock API property to decide whether to enable NTP timeservers or not.
The third patch adds save and load support for TimeUpdates and TimezoneUpdates properties so that the desired auto/manual timeserver handling will be remebered over restarts. The fourth patch adds a quick test scrip to set these two Clock API properties. Cheers, Patrik Patrik Flykt (4): clock: Export information about time update method timeserver: Check the time update method clock: Implement Load and save for Clock API properties test: Add test script for Clock API Makefile.am | 3 ++- src/clock.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++----- src/connman.h | 7 ++++++ src/timeserver.c | 3 +++ test/set-clock | 32 ++++++++++++++++++++++++ 5 files changed, 109 insertions(+), 7 deletions(-) create mode 100755 test/set-clock -- 1.7.10.4 _______________________________________________ connman mailing list connman@connman.net https://lists.connman.net/mailman/listinfo/connman