From 200e2e2e7ba9f32bbb8f1198c969fc3f4b373a5a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 26 Apr 2020 18:38:16 +0200 Subject: [PATCH] luci-mod-system: don't make SSH tabs depend on dropbear uci This prevents a situation where the tabs will be disabled by the dispatcher once the last config section has been removed. This would allow a user to disable SSH via the UI but not to reenable it. Signed-off-by: Jo-Philipp Wich (backported from commit baa3bd4aac64984dfbecf8e524cfb31ed485a916) --- .../root/usr/share/luci/menu.d/luci-mod-system.json | 6 ------ 1 file changed, 6 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 4a65dec17a..adc3377d57 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 @@ -31,9 +31,6 @@ "action": { "type": "view", "path": "system/dropbear" - }, - "depends": { - "uci": { "dropbear": true } } }, @@ -43,9 +40,6 @@ "action": { "type": "view", "path": "system/sshkeys" - }, - "depends": { - "uci": { "dropbear": true } } }, -- 2.30.2