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 | 58748eea3c62f77e2090ccc937b4a2d240a17213 (patch) | |
tree | 64519f68ffe039943964a1dfb4c623c220714198 | |
parent | 791b04bbe4deefe51274eea010465c9805637910 (diff) |
sms-action: use :jobname to get script name
-rw-r--r-- | sms-action.rsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sms-action.rsc b/sms-action.rsc index b553762..49b6cd5 100644 --- a/sms-action.rsc +++ b/sms-action.rsc @@ -3,10 +3,12 @@ # Copyright (c) 2018-2024 Christian Hesse <mail@eworm.de> # https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md # +# requires RouterOS, version=7.12 +# # run action on received SMS # https://git.eworm.de/cgit/routeros-scripts/about/doc/sms-action.md -:local 0 "sms-action"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |