mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-15 12:34:27 +02:00
sms-forward: wait to be fully connected
This commit is contained in:
parent
16685dd332
commit
639bfc367b
1 changed files with 3 additions and 1 deletions
|
@ -11,12 +11,14 @@
|
|||
:global LogPrintExit;
|
||||
:global MailServerIsUp;
|
||||
:global SendNotification;
|
||||
:global WaitFullyConnected;
|
||||
|
||||
:if ([ / tool sms get receive-enabled ] = false) do={
|
||||
$LogPrintExit warning "Receiving of SMS is not enabled." true;
|
||||
}
|
||||
|
||||
# check mail server
|
||||
$WaitFullyConnected;
|
||||
|
||||
:if ($MailServerIsUp = false) do={
|
||||
$LogPrintExit warning "Mail server is not up." true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue