Akira25 / autoupdate

Draft of an autoupdater for Freifunk Berlin. Deprecated in favour of rewrite. https://github.com/freifunk-berlin/falter-packages/tree/master/packages/falter-berlin-autoupdate
2 stars 0 forks source link

[Bug] definition of last_upgrade date fails #10

Closed Akira25 closed 4 years ago

Akira25 commented 4 years ago

The uci-script fails regularily at setting the date of the last upgrade. That is needed, to figure out new versions of the link-list.

We ping 8.8.8.8, to check if there is a way to the internet. If so, we assume, that the time of the system clock was set right and we set the date of last_upgrade to the current date.

Currently, that mechanism does not work anymore. Probably the ping fails, because the internet conection is not established, at that point of boot-process.

Akira25 commented 4 years ago

In fact that problem should have been solved with d567989 and 12aeb9b .