aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update
AgeCommit message (Expand)AuthorFilesLines
2023-03-10drop dummy scripts used for migration•••This now causes expected warnings on first run of $ScriptInstallUpdate. The migration still works, as we keep `global-config.changes` and `global-functions`. Gravatar Christian Hesse1-3/+0
2023-03-07rename scripts and add file extension ".rsc"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse1-96/+1
2023-02-16packages-update: put reboot into a function•••Make the logic even simpler... Let's put the reboot code into a function. That is volatile, so device does not reboot if it is rebooted already. Gravatar Christian Hesse1-2/+6
2023-02-16packages-update: check version before reboot from scheduler•••Chances are that the device was rebooted manually... Do not reboot then. Gravatar Christian Hesse1-2/+3
2023-01-02update copyright for 2023Gravatar Christian Hesse1-1/+1
2022-05-11packages-update: RouterOS v7 path syntaxGravatar Christian Hesse1-13/+13
2022-01-30packages-update: use correct syntaxGravatar Christian Hesse1-3/+3
2022-01-01update copyright for 2022Gravatar Christian Hesse1-1/+1
2021-06-23packages-update: use 'provides' to find backup scriptsGravatar Christian Hesse1-1/+1
2021-04-29packages-update: update wordingGravatar Christian Hesse1-1/+1
2021-04-29packages-update: add missing colonGravatar Christian Hesse1-1/+1
2021-02-24global: use $0 for $ScriptFromTerminalGravatar Christian Hesse1-3/+3
2021-02-24global: use $0 for $ScriptLockGravatar Christian Hesse1-1/+1
2021-02-24global: give script or function name in log messagesGravatar Christian Hesse1-13/+14
2021-02-18global: drop script 'global-wait'•••All scripts wait for the global functions on their own now. change-44Gravatar Christian Hesse1-0/+3
2021-01-01update copyright for 2021Gravatar Christian Hesse1-1/+1
2020-10-08packages-update: improve backup failure handlingGravatar Christian Hesse1-0/+10
2020-10-08packages-update: be more verboseGravatar Christian Hesse1-2/+3
2020-10-07packages-update: fix variable usageGravatar Christian Hesse1-1/+2
2020-09-18extend magic pattern with "by RouterOS"•••This matches the string included in export. Gravatar Christian Hesse1-1/+1
2020-07-07packages-update: add error handling, also run cloud-backupGravatar Christian Hesse1-2/+6
2020-07-07packages-update: do not install downgrade without confirmationGravatar Christian Hesse1-9/+24
2020-06-19explicitly 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 Gravatar Christian Hesse1-0/+1
2020-05-26packages-update: accept lower and upper case charactersGravatar Christian Hesse1-2/+2
2020-04-03packages-update: use $LogPrintExitGravatar Christian Hesse1-2/+2
2020-03-27add doc/packages-update.mdGravatar Christian Hesse1-0/+1
2020-02-28global-functions: sort alphabeticallyGravatar Christian Hesse1-1/+1
2020-02-26global-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. Gravatar Christian Hesse1-5/+5
2020-02-26packages-update: use $LogAndErrorGravatar Christian Hesse1-6/+3
2020-02-26global-functions: $LogAndError: add severityGravatar Christian Hesse1-1/+1
2020-02-26packages-update: use $LogAndErrorGravatar Christian Hesse1-2/+2
2020-01-01update copyright for 2020Gravatar Christian Hesse1-1/+1
2019-12-20packages-update: improve wordingGravatar Christian Hesse1-1/+1
2019-12-05packages-update: lock against multiple invocationGravatar Christian Hesse1-0/+3
2019-12-04packages-update: skip the interactive part of non-terminalGravatar Christian Hesse1-14/+17
2019-09-11packages-update: add random delay for schedulerGravatar Christian Hesse1-2/+3
2019-09-02packages-update: add option to schedule rebootGravatar Christian Hesse1-0/+8
2019-07-24packages-update: allow to downgrade on change of update channelGravatar Christian Hesse1-0/+9
2019-07-24packages-update: break if latest version is unknownGravatar Christian Hesse1-0/+5
2019-07-24packages-update: get values into arrayGravatar Christian Hesse1-5/+4
2019-07-19packages-update: run email-backup and/or upload-backupGravatar Christian Hesse1-2/+2
2019-04-03always write warnings and errors to logGravatar Christian Hesse1-2/+4
2019-02-19add script 'packages-update'Gravatar Christian Hesse1-0/+29