mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 18:14:27 +02:00
rename forward-sms -> sms-forward
This commit is contained in:
parent
2ec96e9db4
commit
1972fc32d0
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# RouterOS script: forward-sms
|
# RouterOS script: sms-forward
|
||||||
# Copyright (c) 2013-2018 Christian Hesse <mail@eworm.de>
|
# Copyright (c) 2013-2018 Christian Hesse <mail@eworm.de>
|
||||||
#
|
#
|
||||||
# forward SMS to e-mail
|
# forward SMS to e-mail
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
:global "email-general-cc";
|
:global "email-general-cc";
|
||||||
|
|
||||||
# check mail server
|
# check mail server
|
||||||
:if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up" ) do={
|
:if ([ / tool netwatch get [ find where comment=[ / tool e-mail get address ] ] status ] != "up") do={
|
||||||
:error "Mail server is not up.";
|
:error "Mail server is not up.";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue