aboutsummaryrefslogtreecommitdiffstats
path: root/packages-update.rsc
AgeCommit message (Expand)AuthorFilesLines
2024-12-09packages-update: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+13
2024-11-14packages-update: drop check for device-mode downgrade...•••... as things have been revised and this specific setting was removed. routeros-7.17beta5-1Gravatar Christian Hesse1-6/+0
2024-10-23packages-update: check for explicit state...•••... as all device-mode properties are given since RouterOS 7.14beta4. Let's assume we do not have to care about RouterOS 7.14beta2 any more... As older versions will not match the check we can now merge right away. routeros-7.17beta4-2Gravatar Christian Hesse1-3/+1
2024-09-30packages-update: give warning on lock in device-mode•••RouterOS 7.17beta2 introduced some extra security measures, including some to prevent downgrade attacks for the installation. Detect early and exit with message and error. https://help.mikrotik.com/docs/display/ROS/Device-mode routeros-7.17beta2-2Gravatar Christian Hesse1-0/+8
2024-07-16bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.14 anyway. Gravatar Christian Hesse1-1/+1
2024-07-04packages-update: run backups before package download•••This reduces memory pressure, especially on device with very limited RAM like mAP with its 64 MB. Gravatar Christian Hesse1-26/+26
2024-03-27packages-update: do not reboot when scheduledGravatar Christian Hesse1-0/+2
2024-03-12packages-update: drop RouterOS version check...•••... and allow all updates again. This requires RouterOS 7.13. Gravatar Christian Hesse1-7/+1
2024-03-12packages-update: switch to $LogPrintGravatar Christian Hesse1-17/+23
2024-03-12packages-update: support passing backup failureGravatar Christian Hesse1-0/+6
2024-03-12packages-update: increate log severity on canceled non-interactive updateGravatar Christian Hesse1-1/+1
2024-03-12packages-update: drop main function, use :do with on-errorGravatar Christian Hesse1-7/+5
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-12packages-update: do not exit with errorGravatar Christian Hesse1-2/+4
2024-03-04packages-update: move code into functionGravatar Christian Hesse1-87/+94
2024-01-31packages-update: schedule reboot at pre-calculated timeGravatar Christian Hesse1-5/+5
2024-01-31packages-update: move output and logging to local function...•••... and pass script name for clean logging. Gravatar Christian Hesse1-6/+7
2024-01-31packages-update: prepare message and mention time zoneGravatar Christian Hesse1-2/+4
2024-01-30packages-update: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30packages-update: support deferred reboot on auto-update•••Closes #56 change-117Gravatar Christian Hesse1-0/+7
2024-01-30packages-update: schedule from local functionGravatar Christian Hesse1-8/+12
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-11-21packages-update: refuse automatic update to RouterOS 7.13•••... as migration to wireless or wifi package has to be done. Please update manually by running: /system/package/update/install routeros-7.13beta1-3Gravatar Christian Hesse1-0/+5
2023-11-14packages-update: rename schedulerGravatar Christian Hesse1-2/+2
2023-09-13packages-update: match on word boundaryGravatar Christian Hesse1-2/+1
2023-09-13packages-update: drop order from messageGravatar Christian Hesse1-1/+1
2023-09-13packages-update: implement backup script orderGravatar Christian Hesse1-4/+14
2023-06-22packages-update: rename scheduler to match function nameGravatar Christian Hesse1-2/+2
2023-03-07rename scripts and add file extension ".rsc"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse1-0/+98