firmware/src/packages/fff/fff-web/files/www/ssl/cgi-bin
Fabian Bläse 87f6f9969f fff-web: Do not remove uploaded binary on sysupgrade failure
For some reason sysupgrade seems to return exit status != 0
even on successful calls. As the binary is removed if
sysupgrade exists with a failure status, it is possible that
it got deleted while a sysupgrade has been in progress.

This removal was added to ensure that only one binary occupies
space in tmpfs (which is stored in memory) when upgrading.
If sysupgrade fails and the user starts another try, the old
binary is overwritten by moving the new one to the same location.

Therefore the removal of binaries on sysupgrade failure can be
removed completely.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Christian Dresel <fff@chrisi01.de>
Acked-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2019-11-20 20:01:33 +01:00
..
footer Add new WebUI 2016-03-14 21:26:49 +01:00
header treewide: Force use of busybox wget 2019-11-17 15:45:24 +01:00
helpers fff-web/show_info: Put common code into function 2017-11-13 19:22:44 +01:00
home.html fff-web: remove l2tp 2019-07-06 13:58:48 +02:00
leaflet.css Add Leaflet-Map Position selector 2016-01-26 13:05:02 +01:00
leaflet.js Add Leaflet-Map Position selector 2016-01-26 13:05:02 +01:00
logout.html Add new WebUI 2016-03-14 21:26:49 +01:00
password.html Remove double equals. 2018-07-26 21:57:34 +02:00
ports.html Remove double equals. 2018-07-26 21:57:34 +02:00
reboot.html Remove double equals. 2018-07-26 21:57:34 +02:00
settings.html Remove double equals. 2018-07-26 21:57:34 +02:00
upgrade.html fff-web: Do not remove uploaded binary on sysupgrade failure 2019-11-20 20:01:33 +01:00
wifiscan.html fff-web: Fix two bugs in wifiscan.html 2018-01-28 12:53:38 +01:00