luci/modules/luci-mod-admin-full/luasrc/controller/admin
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
..
filebrowser.lua Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
index.lua luci-mod-admin-full: do not access dispatcher.context.urltoken in logout 2015-10-21 16:43:07 +02:00
network.lua luci-mod-admin-full: fix missing wifi_assoclist 2018-06-26 14:30:36 +02:00
status.lua luci-mod-admin-full: dispatch SimpleForm models using the form() action 2018-04-06 12:10:16 +02:00
system.lua luci-mod-admin-full: check backup.tar.gz on apply 2018-07-03 17:45:12 +02:00
uci.lua treewide: rework uci apply workflow 2018-05-05 23:11:23 +02:00