Skip to content
Snippets Groups Projects
Verified Commit b5b4aae7 authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

patches/luci: disable flash tab: refresh

parent 3b6f08c8
Branches
Tags
No related merge requests found
......@@ -8,22 +8,29 @@ This only hides it just to make it less available. It still can be
accessed by URL.
---
modules/luci-mod-system/luasrc/controller/admin/system.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
.../root/usr/share/luci/menu.d/luci-mod-system.json | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/modules/luci-mod-system/luasrc/controller/admin/system.lua b/modules/luci-mod-system/luasrc/controller/admin/system.lua
index 3563349f2..6304f65ca 100644
--- a/modules/luci-mod-system/luasrc/controller/admin/system.lua
+++ b/modules/luci-mod-system/luasrc/controller/admin/system.lua
@@ -25,7 +25,7 @@ function index()
entry({"admin", "system", "leds"}, view("system/leds"), _("LED Configuration"), 60)
.file_depends = { "/sys/class/leds" }
diff --git a/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json b/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json
index adc3377d5..5e294e31c 100644
--- a/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json
+++ b/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json
@@ -85,15 +85,6 @@
}
},
- entry({"admin", "system", "flash"}, view("system/flash"), _("Backup / Flash Firmware"), 70)
+ -- entry({"admin", "system", "flash"}, view("system/flash"), _("Backup / Flash Firmware"), 70)
entry({"admin", "system", "reboot"}, view("system/reboot"), _("Reboot"), 90)
end
- "admin/system/flash": {
- "title": "Backup / Flash Firmware",
- "order": 70,
- "action": {
- "type": "view",
- "path": "system/flash"
- }
- },
-
"admin/system/reboot": {
"title": "Reboot",
"order": 90,
--
2.25.0
2.26.2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment