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