commit fd4449e1de3f0a580e7ac3ecfc0e6313ea555430
parent c7a57e4454a9b68b854f5ac2f81a294848eda453
Author: Metafly <info@metafly.info>
Date: Fri, 10 Feb 2017 17:02:54 +0100
chrony: set rtcsync config option
Else the system will always stay in UNSYNC state.
Even if there is no real RTC.
See chrony minimal config:
http://chrony.tuxfamily.org/faq.html#_what_is_the_minimum_recommended_configuration_for_an_ntp_client
Signed-off-by: Stefan Sydow <st@metafly.info>
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/chrony/Makefile b/net/chrony/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=chrony
PKG_VERSION:=3.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.tuxfamily.org/chrony/
diff --git a/net/chrony/files/chrony.conf b/net/chrony/files/chrony.conf
@@ -5,3 +5,6 @@ logchange 0.5
# Don't log client accesses
noclientlog
+
+# set the system clock else the kernel will always stay in UNSYNC state
+rtcsync