aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-05-08 14:25:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-05-08 14:25:31 +0200
commit2745597b93901d34a4ade63d789c984adccd8b54 (patch)
tree1242072b088ce84dad95d90ea6cbab5e073df319 /global-functions.rsc
parentfb7170f3121dd9e25cc320e5f0c98d1829e49d33 (diff)
global-functions: $IsTimeSync: add (one time) warning on failed ntp sync
Diffstat (limited to 'global-functions.rsc')
-rw-r--r--global-functions.rsc1
1 files changed, 1 insertions, 0 deletions
diff --git a/global-functions.rsc b/global-functions.rsc
index 5cc665c..b1833b1 100644
--- a/global-functions.rsc
+++ b/global-functions.rsc
@@ -693,6 +693,7 @@
:return false;
}
+ $LogPrintOnce warning $0 ("The ntp client is configured, but did not sync.");
:set IsTimeSyncResetNtp $Uptime;
/system/ntp/client/set enabled=no;
:delay 20ms;