Commit graph

21 commits

Author SHA1 Message Date
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