From 9840d310e2e3a54a3d53fc206f2d406402b42128 Mon Sep 17 00:00:00 2001 From: Rosy Song Date: Sat, 8 Sep 2018 15:07:01 +0800 Subject: modules: add backup module for mtdblock devices Signed-off-by: Rosy Song --- .../luasrc/view/admin_system/flashops.htm | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'modules/luci-mod-admin-full/luasrc/view') diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm b/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm index f3d2e8d7b0..8204d38e34 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm @@ -59,6 +59,40 @@
<%:The backup archive does not appear to be a valid gzip file.%>
<% end %> + + <% local mtds = require("luci.sys").mtds(); if #mtds > 0 then -%> +

<%:Save mtdblock contents%>

+
<%:Click "Save mtdblock" to download specified mtdblock file. (NOTE: THIS FEATURE IS FOR PROFESSIONALS! )%>
+
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ <% end %> +
-- cgit v1.2.3