aboutsummaryrefslogtreecommitdiffstats
path: root/capsman-rolling-upgrade.wifi.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
commitdfeb6b6d614e4e657367dc6753117227990ebd9b (patch)
tree3a2033ffc9ad0f4cbb56f1ab003406a8c0bed4fa /capsman-rolling-upgrade.wifi.rsc
parent111cb59509608e18e084a307cbd07c3821331e20 (diff)
capsman-rolling-upgrade: use :jobname to get script name
Diffstat (limited to 'capsman-rolling-upgrade.wifi.rsc')
-rw-r--r--capsman-rolling-upgrade.wifi.rsc3
1 files changed, 2 insertions, 1 deletions
diff --git a/capsman-rolling-upgrade.wifi.rsc b/capsman-rolling-upgrade.wifi.rsc
index 426193d..c17c5a1 100644
--- a/capsman-rolling-upgrade.wifi.rsc
+++ b/capsman-rolling-upgrade.wifi.rsc
@@ -5,13 +5,14 @@
# https://git.eworm.de/cgit/routeros-scripts/about/COPYING.md
#
# provides: capsman-rolling-upgrade
+# requires RouterOS, version=7.12
#
# upgrade CAPs one after another
# https://git.eworm.de/cgit/routeros-scripts/about/doc/capsman-rolling-upgrade.md
#
# !! Do not edit this file, it is generated from template!
-:local 0 "capsman-rolling-upgrade.wifi";
+:local 0 [ :jobname ];
:global GlobalFunctionsReady;
:while ($GlobalFunctionsReady != true) do={ :delay 500ms; }