diff options
author | Christian Hesse <mail@eworm.de> | 2024-07-11 08:45:53 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-07-11 08:45:53 +0200 |
commit | 78dfc568c10332ea63cc26e39ccf165f3d384c9e (patch) | |
tree | 4bc9fafd8c039a168b77e4ae612f9809daf9cf10 /capsman-download-packages.capsman.rsc | |
parent | 35d3c058b83388b8e187bb53ff8c1e0d85c299b5 (diff) |
capsman-{download-packages,rolling-upgrade}: run matching script
It is possible to run old and new CAPsMAN on one system simultaneously
(... since RouterOS 7.13?). Thus it may make sense to have both variants
of these scripts installed, and we have to make sure to run the correct
one.
Diffstat (limited to 'capsman-download-packages.capsman.rsc')
-rw-r--r-- | capsman-download-packages.capsman.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capsman-download-packages.capsman.rsc b/capsman-download-packages.capsman.rsc index f5695f4..84d36f7 100644 --- a/capsman-download-packages.capsman.rsc +++ b/capsman-download-packages.capsman.rsc @@ -73,7 +73,7 @@ } :if ($Updated = true) do={ - :local Script ([ /system/script/find where source~"\n# provides: capsman-rolling-upgrade\n" ]->0); + :local Script ([ /system/script/find where source~"\n# provides: capsman-rolling-upgrade.capsman\n" ]->0); :if ([ :len $Script ] > 0) do={ /system/script/run $Script; } else={ |