packages-update: support deferred reboot on auto-update

Closes #56
This commit is contained in:
Christian Hesse 2024-01-26 09:11:17 +01:00
parent 98f26989f5
commit 62f33d7b19
5 changed files with 24 additions and 1 deletions

View file

@ -34,6 +34,18 @@ Just install the script:
It is automatically run by [check-routeros-update](check-routeros-update.md)
if available.
Configuration
-------------
The configuration goes to `global-config-overlay`, this is the only parameter:
* `PackagesUpdateDeferReboot`: defer the reboot for night (between 3 AM
and 4 AM)
> **Info**: Copy relevant configuration from
> [`global-config`](../global-config.rsc) (the one without `-overlay`) to
> your local `global-config-overlay` and modify it to your specific needs.
Usage and invocation
--------------------