From 015bf0f8a702e903190710c63c3e5d956e2b2065 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 18 Oct 2024 20:25:16 +0200 Subject: [PATCH] Change default value of ntp.sync.rtc.set to false Signed-off-by: DL6ER --- src/config/config.c | 2 +- test/pihole.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/config.c b/src/config/config.c index 16806d961..9348dedb7 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -878,7 +878,7 @@ static void initConfig(struct config *conf) conf->ntp.sync.rtc.set.k = "ntp.sync.rtc.set"; conf->ntp.sync.rtc.set.h = "Should FTL update a real-time clock (RTC) if available?"; conf->ntp.sync.rtc.set.t = CONF_BOOL; - conf->ntp.sync.rtc.set.d.b = true; + conf->ntp.sync.rtc.set.d.b = false; conf->ntp.sync.rtc.set.c = validate_stub; // Only type-based checking conf->ntp.sync.rtc.device.k = "ntp.sync.rtc.device"; diff --git a/test/pihole.toml b/test/pihole.toml index a9a07ade3..d8499b021 100644 --- a/test/pihole.toml +++ b/test/pihole.toml @@ -518,7 +518,7 @@ [ntp.sync.rtc] # Should FTL update a real-time clock (RTC) if available? - set = true + set = false # Path to the RTC device to update. Leave empty for auto-discovery #