From: Jo-Philipp Wich Date: Sun, 26 Apr 2020 16:38:16 +0000 (+0200) Subject: luci-mod-system: don't make SSH tabs depend on dropbear uci X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=200e2e2e7ba9f32bbb8f1198c969fc3f4b373a5a;p=project%2Fluci.git 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) --- 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 } } },