mirror of
https://github.com/nymurbd/MikroTik-scripts.git
synced 2025-07-08 09:04:30 +02:00
update-tunnelbroker: use $LogAndError
This commit is contained in:
parent
86ed56e7ad
commit
c766d2dfda
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@
|
||||||
|
|
||||||
:global CertificateAvailable;
|
:global CertificateAvailable;
|
||||||
:global ParseKeyValueStore;
|
:global ParseKeyValueStore;
|
||||||
|
:global LogAndError;
|
||||||
|
|
||||||
:if ([ / ip cloud get ddns-enabled ] != true) do={
|
:if ([ / ip cloud get ddns-enabled ] != true) do={
|
||||||
:log error "IP cloud DDNS is not enabled.";
|
$LogAndError "IP cloud DDNS is not enabled.";
|
||||||
:error "Error: See log for details.";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get the current ip address from cloud
|
# Get the current ip address from cloud
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue