mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $TimeIsSync: return false if cloud enabled but not ready
This commit is contained in:
parent
cc375704f3
commit
7febb6a0f4
1 changed files with 5 additions and 3 deletions
|
@ -776,9 +776,11 @@
|
||||||
:return false;
|
:return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
:if ([ / ip cloud get update-time ] = true && \
|
:if ([ / ip cloud get ddns-enabled ] = true && [ / ip cloud get update-time ] = true) do={
|
||||||
[ :typeof [ / ip cloud get public-address ] ] = "ip") do={
|
:if ([ :typeof [ / ip cloud get public-address ] ] = "ip") do={
|
||||||
:return true;
|
:return true;
|
||||||
|
}
|
||||||
|
:return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
:return false;
|
:return false;
|
||||||
|
|
Loading…
Reference in a new issue