Commit graph

39 commits

Author SHA1 Message Date
Christian Hesse
2f774f723d update copyright for 2023 2023-01-02 23:49:26 +01:00
Christian Hesse
ba0bb3d2d4 packages-update: RouterOS v7 path syntax 2022-05-11 13:48:27 +02:00
Christian Hesse
27a81bcbca packages-update: use correct syntax 2022-01-30 22:06:37 +01:00
Christian Hesse
95e9820718 update copyright for 2022 2022-01-01 21:38:15 +01:00
Christian Hesse
420986fdfc packages-update: use 'provides' to find backup scripts 2021-06-23 08:38:44 +02:00
Christian Hesse
afc231596c packages-update: update wording 2021-04-29 14:55:51 +02:00
Christian Hesse
6f7ecaeec4 packages-update: add missing colon 2021-04-29 14:55:51 +02:00
Christian Hesse
766a92a74b global: use $0 for $ScriptFromTerminal 2021-02-24 21:51:56 +01: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
9bd56d8aca packages-update: improve backup failure handling 2020-10-08 00:06:09 +02:00
Christian Hesse
ffad79b8fc packages-update: be more verbose 2020-10-08 00:04:29 +02:00
Christian Hesse
3dc10ca2b8 packages-update: fix variable usage 2020-10-07 23:55:10 +02: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
d75ef3bd69 packages-update: add error handling, also run cloud-backup 2020-07-07 12:18:37 +02:00
Christian Hesse
b31d1a0f01 packages-update: do not install downgrade without confirmation 2020-07-07 09:30:48 +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
856c879fd8 packages-update: accept lower and upper case characters 2020-05-26 22:59:50 +02:00
Christian Hesse
93e72b5d07 packages-update: use $LogPrintExit 2020-04-03 17:22:03 +02:00
Christian Hesse
d075cce0ef add doc/packages-update.md 2020-03-27 22:12:49 +01:00
Christian Hesse
001e7eeb39 global-functions: sort alphabetically 2020-02-28 15:26:26 +01:00
Christian Hesse
ceaa83b83e global-functions: merge $LogAnd{Error,Put} to $LogPrintExit ...
... and fix logging.

Logging with severity from variable (:log $severity ...) is not
possible, this is considered a syntax error. Also the 'workaround' with
parsing code failed with missing message in log.

The reliable code is a lot longer, so merge the two functions to save a
lot of duplicate code.
2020-02-26 14:19:54 +01:00
Christian Hesse
6036edb506 packages-update: use $LogAndError 2020-02-26 12:58:49 +01:00
Christian Hesse
3ebf68a08c global-functions: $LogAndError: add severity 2020-02-26 12:09:19 +01:00
Christian Hesse
9b9ad20b3d packages-update: use $LogAndError 2020-02-26 11:51:49 +01:00
Christian Hesse
afb9839073 update copyright for 2020 2020-01-01 17:00:39 +01:00
Christian Hesse
f9c9d67cc9 packages-update: improve wording 2019-12-20 14:38:42 +01:00
Christian Hesse
7365bfa525 packages-update: lock against multiple invocation 2019-12-05 11:41:49 +01:00
Christian Hesse
9548641b60 packages-update: skip the interactive part of non-terminal 2019-12-04 09:21:07 +01:00
Christian Hesse
c8d6c4597f packages-update: add random delay for scheduler 2019-09-11 12:36:24 +02:00
Christian Hesse
ecc281446c packages-update: add option to schedule reboot 2019-09-02 09:39:19 +02:00
Christian Hesse
6699545157 packages-update: allow to downgrade on change of update channel 2019-07-24 10:49:51 +02:00
Christian Hesse
7fe0938f86 packages-update: break if latest version is unknown 2019-07-24 10:22:37 +02:00
Christian Hesse
3aa4d7ea50 packages-update: get values into array 2019-07-24 10:13:39 +02:00
Christian Hesse
1e075d8d64 packages-update: run email-backup and/or upload-backup 2019-07-19 11:46:29 +02:00
Christian Hesse
b35c0b8a6f always write warnings and errors to log 2019-04-03 21:30:43 +02:00
Christian Hesse
e991c82016 add script 'packages-update' 2019-02-19 16:47:41 +01:00