mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
rename forward-sms -> sms-forward
This commit is contained in:
@@ -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.";
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user