aboutsummaryrefslogtreecommitdiffstats
path: root/sms-action.rsc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:19 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commit58748eea3c62f77e2090ccc937b4a2d240a17213 (patch)
tree64519f68ffe039943964a1dfb4c623c220714198 /sms-action.rsc
parent791b04bbe4deefe51274eea010465c9805637910 (diff)
sms-action: use :jobname to get script name
Diffstat (limited to 'sms-action.rsc')
-rw-r--r--sms-action.rsc4
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; }