aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-15 21:31:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2024-01-30 00:52:21 +0100
commit7d47963c7a6335dfe1847766e67eeef28378b64b (patch)
tree477b749f0e8d7b06a097e0c81e23483977cb706d
parent8afbd5bff54be4f9a7f018589e952893c466e4b5 (diff)
gps-track: use :jobname to get script name
-rw-r--r--gps-track.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gps-track.rsc b/gps-track.rsc
index cd66250..2e6d50f 100644
--- a/gps-track.rsc
+++ b/gps-track.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
+#
# track gps data by sending json data to http server
# https://git.eworm.de/cgit/routeros-scripts/about/doc/gps-track.md
-:local 0 "gps-track";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }