mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 04:54:28 +02:00
sms-forward: log warning just once
This commit is contained in:
parent
a7619a5119
commit
bb0c82adb3
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue