diff options
author | Christian Hesse <mail@eworm.de> | 2023-11-15 21:31:18 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-01-30 00:52:21 +0100 |
commit | dfeb6b6d614e4e657367dc6753117227990ebd9b (patch) | |
tree | 3a2033ffc9ad0f4cbb56f1ab003406a8c0bed4fa /capsman-rolling-upgrade.template.rsc | |
parent | 111cb59509608e18e084a307cbd07c3821331e20 (diff) |
capsman-rolling-upgrade: use :jobname to get script name
Diffstat (limited to 'capsman-rolling-upgrade.template.rsc')
-rw-r--r-- | capsman-rolling-upgrade.template.rsc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/capsman-rolling-upgrade.template.rsc b/capsman-rolling-upgrade.template.rsc index 569cdc1..de0b4d1 100644 --- a/capsman-rolling-upgrade.template.rsc +++ b/capsman-rolling-upgrade.template.rsc @@ -5,6 +5,7 @@ # 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 @@ -12,7 +13,7 @@ # !! This is just a template to generate the real script! # !! Pattern '%TEMPL%' is replaced, paths are filtered. -:local 0 "capsman-rolling-upgrade%TEMPL%"; +:local 0 [ :jobname ]; :global GlobalFunctionsReady; :while ($GlobalFunctionsReady != true) do={ :delay 500ms; } |