mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
sms-forward: use :jobname to get script name
This commit is contained in:
parent
58748eea3c
commit
6e54c7c30b
|
@ -4,10 +4,12 @@
|
||||||
# Anatoly Bubenkov <bubenkoff@gmail.com>
|
# Anatoly Bubenkov <bubenkoff@gmail.com>
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
|
||||||
#
|
#
|
||||||
|
# requires RouterOS, version=7.12
|
||||||
|
#
|
||||||
# forward SMS to e-mail
|
# forward SMS to e-mail
|
||||||
# https://git.eworm.de/cgit/routeros-scripts/about/doc/sms-forward.md
|
# https://git.eworm.de/cgit/routeros-scripts/about/doc/sms-forward.md
|
||||||
|
|
||||||
:local 0 "sms-forward";
|
:local 0 [ :jobname ];
|
||||||
:global GlobalFunctionsReady;
|
:global GlobalFunctionsReady;
|
||||||
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue