Skip to content
Snippets Groups Projects
0001-Disable-flash-tab-because-Turris-is-autoupdated-and-.patch 1.04 KiB
Newer Older
From 050f0ebfb65921f5a6f1ae9607c08ef8a25261d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz>
Date: Wed, 27 Nov 2019 13:53:07 +0100
Subject: [PATCH] Disable flash tab because Turris is autoupdated and this is
 not supported

This only hides it just to make it less available. It still can be
accessed by URL.
 .../root/usr/share/luci/menu.d/luci-mod-system.json      | 9 ---------
 1 file changed, 9 deletions(-)
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 @@
 		}
 	},
-	"admin/system/flash": {
-		"title": "Backup / Flash Firmware",
-		"order": 70,
-		"action": {
-			"type": "view",
-			"path": "system/flash"
-		}
-	},
-
 	"admin/system/reboot": {
 		"title": "Reboot",
 		"order": 90,