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

patches/luci: disable Flash Firmware tab: refresh

parent e49568d4
Branches
Tags
1 merge request!123Turris OS 5.0 (HBK)
......@@ -6,16 +6,17 @@ Subject: [PATCH] Disable flash tab because Turris is autoupdated and this is
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(-)
diff --git a/modules/luci-mod-system/luasrc/controller/admin/system.lua b/modules/luci-mod-system/luasrc/controller/admin/system.lua
index 1e0bebb4f..9bebe7898 100644
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"), _("<abbr title=\"Light Emitting Diode\">LED</abbr> Configuration"), 60)
entry({"admin", "system", "leds"}, view("system/leds"), _("LED Configuration"), 60)
.file_depends = { "/sys/class/leds" }
- entry({"admin", "system", "flash"}, view("system/flash"), _("Backup / Flash Firmware"), 70)
......@@ -24,5 +25,5 @@ index 1e0bebb4f..9bebe7898 100644
entry({"admin", "system", "reboot"}, view("system/reboot"), _("Reboot"), 90)
end
--
2.24.0
2.25.0
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