luci/modules/luci-mod-admin-full/luasrc
Florian Eckert 65ba4b8b8a luci-mod-admin-full: check backup.tar.gz on apply
If an uploaded backup.tar.gz is not valid we will not get a respond from
LuCI. The system will perform a reboot without applying the "tar.gz"
even though the backup import failed.

To fix this check if the backup archive is valid with the command
"gunzip -t <archive>" and if the validation fails render the flashops page
with a hint. On the other hand apply the backup archive and perform a
reboot as before.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-07-03 17:45:12 +02:00
..
controller/admin luci-mod-admin-full: check backup.tar.gz on apply 2018-07-03 17:45:12 +02:00
model/cbi luci-mod-admin-full: properly remap ports in switch status display 2018-06-26 19:51:36 +02:00
view luci-mod-admin-full: check backup.tar.gz on apply 2018-07-03 17:45:12 +02:00