From fd4449e1de3f0a580e7ac3ecfc0e6313ea555430 Mon Sep 17 00:00:00 2001 From: Metafly Date: Fri, 10 Feb 2017 17:02:54 +0100 Subject: [PATCH] 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 --- net/chrony/Makefile | 2 +- net/chrony/files/chrony.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/net/chrony/Makefile b/net/chrony/Makefile index c51b72b7f..0d367c6fb 100644 --- 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 index b207c945e..410e63b94 100644 --- 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