Re: Fw_upgrade version 8.3 release
Posted by
hans2 on
May 30, 2016; 1:53pm
URL: https://itus.accessinnov.com/Fw-upgrade-version-8-3-release-tp896p991.html
Gnomad wrote
Thanks Roadrunnere42,
update worked, although I noticed that admin_status/index.htm was logging:
daemon.err uhttpd[4517]: cat: can't open '.version': No such file or directory
I think .version was incorrectly included on the "Shield Update Last Run" line:
luci.sys.exec("cat /.do_date .version | cut -c5-10")
So I've just
added a tweak into GitHub that avoids the need for a separate .version file to be manually updated. Now, fw_upgrade parses the header comments to look for the version number, and pushes that straight into the .do_date file. There are also corresponding admin_status changes to match. Nothing urgent, but a change that'd be useful to push out with the next 8.4 version published.
.do_date is set by fw_upgrade when the update is run (see the line with 'date > /.do_date'.
.version was intended to keep track of the version of fw_upgrade.
So the correct line should have been
luci.sys.exec("cat /.do_date | cut -c5-10")
luci.sys.exec("cat /.version")
however this usage of .version has been outdated on github already.
No more: Shield Pro v1, Chaos Calmer, FW 1.51 SP1