aboutsummaryrefslogtreecommitdiffstats
path: root/check-routeros-update.rsc
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
commit3412ab771f62e757ae62f48626e0ad0c4255c74d (patch)
tree606799b5b576641ba919038261fa4127d4645301 /check-routeros-update.rsc
parent08bd884810f04d64391a5d52dbada17b8c127e3a (diff)
check-routeros-update: use :jobname to get script name
Diffstat (limited to 'check-routeros-update.rsc')
-rw-r--r--check-routeros-update.rsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/check-routeros-update.rsc b/check-routeros-update.rsc
index 3f7813a..204a0d3 100644
--- a/check-routeros-update.rsc
+++ b/check-routeros-update.rsc
@@ -3,10 +3,12 @@
# Copyright (c) 2013-2024 Christian Hesse <mail@eworm.de>
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
+# requires RouterOS, version=7.12
+#
# check for RouterOS update, send notification and/or install
# https://git.eworm.de/cgit/routeros-scripts/about/doc/check-routeros-update.md
-:local 0 "check-routeros-update";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }