Is there a way to check in a script to see if I need to update Openwrt? I would like to run a script weekly to see if there is a newer version available.
I compare that to the results from this command to see if I need an update.
clamscan -V | awk -F'[ /]' '{print $2}'
On openwrt the file /etc/os-release tells me what I am running. Is there a standard URL to check to most recent stable release? All the URLs on the home page to get the current release contain the value of the current release, which I am trying to find out. I really hate having to parse html to find out something.
Could the openwrt project publish a DNS TXT record, like clamav does, with the current release(s) in it. I guess their are now two "stable" releases and sometimes there is a development release. You could put multiple releases in the TXT record in some established order and I could pick one. Or you could publish multiple TXT records for stable, development, snapshot or whatever. DNS is super flexible.