mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-08-04 10:14:51 +02:00
global-functions: $IsTimeSync: add (one time) warning on failed ntp sync
This commit is contained in:
parent
fb7170f312
commit
2745597b93
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue