Browse Source

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>
lilik-openwrt-22.03
Metafly 8 years ago
parent
commit
fd4449e1de
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      net/chrony/Makefile
  2. +3
    -0
      net/chrony/files/chrony.conf

+ 1
- 1
net/chrony/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=chrony PKG_NAME:=chrony
PKG_VERSION:=3.1 PKG_VERSION:=3.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://download.tuxfamily.org/chrony/ PKG_SOURCE_URL:=https://download.tuxfamily.org/chrony/


+ 3
- 0
net/chrony/files/chrony.conf View File

@ -5,3 +5,6 @@ logchange 0.5
# Don't log client accesses # Don't log client accesses
noclientlog noclientlog
# set the system clock else the kernel will always stay in UNSYNC state
rtcsync

Loading…
Cancel
Save