What happens if a second new firmware version is released during the postponement days? Meaning, I haven't yet installed the first update when a new patch is released.
Just reviewed the code and my recollection was slightly wrong, so minor correction incoming below to set the record straight:
The
/usr/sbin/webs_update.sh is called everytime MerlinAU is run
interactively, but not when the update function runs as a cron job.
However the rest of what I said still remains the same. The
_GetLatestFWUpdateVersionFromWebsite_ function is designed to always fetch the latest firmware version available on the website.
It does this by:
1. Extracting all firmware versions for the product on the website.
2. Sorting all these versions numerically.
3. Selecting the last item from the sorted list, which represents the newest version.
Given this design, even if the /usr/sbin/webs_update.sh is not called by the cron job and is only called interactively, if a second new firmware version is released while you are in the postponement period for the first update, the function when next invoked, would identify and select this second new version as the latest.
This is because the function does not track the history of versions it has previously identified (however it is in the settings file) but simply selects the newest version available at the time of its execution.
(This is excluding the fact that /usr/sbin/webs_update.sh runs every night anyways. Unless you disable the update check in the MerlinAU script or the WebUI.)