Commit graph

15 commits

Author SHA1 Message Date
Christian Hesse
ff4e5339d0 capsman-rolling-upgrade: properly handle vanished cap 2021-04-29 15:34:09 +02:00
Christian Hesse
041ca062b1 global: use $0 for $ScriptLock 2021-02-24 21:51:56 +01:00
Christian Hesse
f46db91845 global: give script or function name in log messages 2021-02-24 21:51:54 +01:00
Christian Hesse
d5afc79eed global: drop script 'global-wait'
All scripts wait for the global functions on their own now.
2021-02-18 21:45:38 +01:00
Christian Hesse
547fbc630a update copyright for 2021 2021-01-01 21:33:52 +01:00
Christian Hesse
49737af6d1 extend magic pattern with "by RouterOS"
This matches the string included in export.
2020-09-18 11:00:27 +02:00
Christian Hesse
ff5cdc3019 [ ... print count-only ...] -> [ :len [ ... find ... ] ]
Using 'print count-only' always prints a number to terminal, even if the
value is evaluated in a condition or assigned to a variable. This can be
quite annoying. Behavior will not chance (SUP-25503), so replacing the
code...
2020-08-26 09:29:52 +02:00
Christian Hesse
71ad56aacc explicitly name the license
Copyright (C) 2013-2020 Christian Hesse <mail@eworm.de>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

https://www.gnu.org/licenses/#GPL
https://www.gnu.org/licenses/gpl.html
https://www.gnu.org/licenses/gpl.md
2020-06-19 22:17:42 +02:00
Christian Hesse
b2d1b64bd2 capsman-rolling-upgrade: use $LogPrintExit 2020-04-03 17:26:35 +02:00
Christian Hesse
77c1f6fd63 add doc/capsman-rolling-upgrade.md 2020-03-27 22:12:49 +01:00
Christian Hesse
afb9839073 update copyright for 2020 2020-01-01 17:00:39 +01:00
Christian Hesse
3db466f476 capsman-rolling-upgrade: lock against multiple invocation 2019-12-05 11:41:49 +01:00
Christian Hesse
2d1a07dd0f capsman-rolling-upgrade: do not fail on missing cap
This is a long running process, chances are that a cap disappears
intermittently. So find cap by name and do not fail.
2019-08-29 07:54:00 +02:00
Christian Hesse
65c76b8409 capsman-rolling-upgrade: log with info, give identity 2019-07-08 15:49:00 +02:00
Christian Hesse
74683b3fc8 capsman-download-packages: split off capsman-rolling-upgrade 2019-02-14 20:49:05 +01:00