diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:19 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | 6e54c7c30be20d027065ffc35e852cf9383d11b7 (patch) | |
tree | 420d91f377cb8b7d2cb6f2fda2481f67c40f5548 /sms-forward.rsc | |
parent | 58748eea3c62f77e2090ccc937b4a2d240a17213 (diff) |
sms-forward: use :jobname to get script name
Diffstat (limited to 'sms-forward.rsc')
-rw-r--r-- | sms-forward.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sms-forward.rsc b/sms-forward.rsc index fb4d73c..f6d8e12 100644 --- a/sms-forward.rsc +++ b/sms-forward.rsc @@ -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; } |