chrony: rework loading of configuration

Instead of loading /etc/chrony/chrony.conf from the file generated from
the chrony UCI configuration, use the confdir directive in the main
config to load the generated file. This should make it obvious that
chrony is configured in UCI and it can also be easily disabled.

Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
This commit is contained in:
Miroslav Lichvar
2020-10-30 17:02:49 +01:00
parent f07319d6b1
commit 1dc8c501a6
2 changed files with 7 additions and 7 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
# This file is included from config file generated from /etc/config/chrony
# Load UCI configuration
confdir /var/etc/chrony.d
# Log clock errors above 0.5 seconds
logchange 0.5