Christian Hesse
c3d3d61f92
packages-update: support deferred reboot with longer interval
2025-06-04 22:30:51 +02:00
Christian Hesse
38ec392a5f
packages-update: check for global config to be ready
2025-05-08 09:51:08 +02:00
Christian Hesse
4358dabb19
packages-update: fail if global functions do not become ready
2025-05-08 09:51:07 +02:00
Christian Hesse
9a5a2aec4f
packages-update: use :onerror for outer block
2025-05-08 09:51:07 +02:00
Christian Hesse
4bfb591fa0
bump required RouterOS version for all scripts
2025-02-07 17:44:41 +01:00
Christian Hesse
dbdc3e4718
packages-update: ignore available packages
...
This was introduced with RouterOS 7.18beta2 to list and install available
packages. We do not want to install all of them. 😝
2025-02-07 17:16:37 +01:00
Christian Hesse
dafd95d44a
packages-update: disable random delay for backup
2025-02-06 21:26:39 +01:00
Christian Hesse
7b660d0952
packages-update: move configuration variables up
2025-02-06 21:24:20 +01:00
Christian Hesse
8dc1e1ea6b
packages-update: add dependencies on device-mode
2025-01-30 09:00:02 +01:00
Christian Hesse
90a148a9d8
packages-update: use short url rsc.eworm.de
2025-01-29 14:14:27 +01:00
Christian Hesse
ce2d090e99
packages-update: refuse when running from backup partition
2025-01-06 09:31:38 +01:00
Christian Hesse
9e3729c279
update copyright for 2025
2025-01-02 00:04:06 +01:00
Christian Hesse
81f59f9894
packages-update: use $ExitError to indicate unintentional error
2024-12-09 11:49:50 +01:00
Christian Hesse
5b09469cc6
packages-update: drop check for device-mode downgrade...
...
... as things have been revised and this specific setting was removed.
2024-11-14 21:03:07 +01:00
Christian Hesse
07c9576377
packages-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.
2024-10-23 20:17:44 +02:00
Christian Hesse
f2576cf558
packages-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
2024-09-30 16:23:50 +02:00
Christian Hesse
6fbafe76ba
bump RouterOS requirement for all scripts and modules...
...
... now that global-functions requires RouterOS 7.14 anyway.
2024-07-16 13:50:22 +02:00
Christian Hesse
64bc9f73f7
packages-update: run backups before package download
...
This reduces memory pressure, especially on device with very limited RAM
like mAP with its 64 MB.
2024-07-04 15:31:43 +02:00
Christian Hesse
7212d8bd23
packages-update: do not reboot when scheduled
2024-03-27 22:17:06 +01:00
Christian Hesse
44fc69e82d
packages-update: drop RouterOS version check...
...
... and allow all updates again. This requires RouterOS 7.13.
2024-03-12 21:39:38 +01:00
Christian Hesse
8444e5f270
packages-update: switch to $LogPrint
2024-03-12 20:37:57 +01:00
Christian Hesse
3fcdd395fe
packages-update: support passing backup failure
2024-03-12 15:27:15 +01:00
Christian Hesse
ffa31c7ad7
packages-update: increate log severity on canceled non-interactive update
2024-03-12 15:27:15 +01:00
Christian Hesse
1012d9fc51
packages-update: drop main function, use :do with on-error
2024-03-12 15:27:15 +01:00
Christian Hesse
1e8918fdaa
global-functions: $ScriptLock: do not exit from global function
2024-03-12 15:27:15 +01:00
Christian Hesse
ec90695e8f
packages-update: do not exit with error
2024-03-12 15:27:15 +01:00
Christian Hesse
492edb4263
packages-update: move code into function
2024-03-04 21:40:34 +01:00
Christian Hesse
64e53a7d32
packages-update: schedule reboot at pre-calculated time
2024-01-31 23:16:41 +01:00
Christian Hesse
461f7b6e76
packages-update: move output and logging to local function...
...
... and pass script name for clean logging.
2024-01-31 23:10:15 +01:00
Christian Hesse
237dcd7261
packages-update: prepare message and mention time zone
2024-01-31 23:10:15 +01:00
Christian Hesse
322466fd00
packages-update: use :jobname to get script name
2024-01-30 00:52:21 +01:00
Christian Hesse
62f33d7b19
packages-update: support deferred reboot on auto-update
...
Closes #56
2024-01-30 00:02:08 +01:00
Christian Hesse
98f26989f5
packages-update: schedule from local function
2024-01-30 00:02:08 +01:00
Christian Hesse
9a73fc526f
update copyright for 2024
2024-01-01 15:25:25 +01:00
Christian Hesse
11daef75f0
packages-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
2023-11-21 13:14:51 +01:00
Christian Hesse
f7c72b6ed9
packages-update: rename scheduler
2023-11-14 22:27:15 +01:00
Christian Hesse
8b8bc7cf2d
packages-update: match on word boundary
2023-09-13 16:08:59 +02:00
Christian Hesse
66813d83a0
packages-update: drop order from message
2023-09-13 16:08:59 +02:00
Christian Hesse
c3f9ad1df7
packages-update: implement backup script order
2023-09-13 01:14:27 +02:00
Christian Hesse
4a67155d05
packages-update: rename scheduler to match function name
2023-06-22 22:45:32 +02:00
Christian Hesse
a832fd04ef
rename scripts and add file extension ".rsc"
...
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00