1
0
mirror of https://github.com/eworm-de/routeros-scripts.git synced 2024-05-11 05:55:19 +00:00

global-functions: $IsTimeSync: add (one time) warning on failed ntp sync

This commit is contained in:
Christian Hesse
2024-05-08 14:25:02 +02:00
parent fb7170f312
commit 2745597b93

View File

@ -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;