mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 10:04:19 +02:00
sms-forward: log warning just once
This commit is contained in:
parent
a7619a5119
commit
bb0c82adb3
|
@ -16,6 +16,7 @@
|
|||
|
||||
:global IfThenElse;
|
||||
:global LogPrintExit2;
|
||||
:global LogPrintOnce;
|
||||
:global ScriptLock;
|
||||
:global SendNotification2;
|
||||
:global SymbolForNotification;
|
||||
|
@ -25,7 +26,7 @@
|
|||
$ScriptLock $0;
|
||||
|
||||
:if ([ /tool/sms/get receive-enabled ] = false) do={
|
||||
$LogPrintExit2 warning $0 ("Receiving of SMS is not enabled.") true;
|
||||
$LogPrintOnce warning $0 ("Receiving of SMS is not enabled.") true;
|
||||
}
|
||||
|
||||
$WaitFullyConnected;
|
||||
|
|
Loading…
Reference in a new issue