From baa3bd4aac64984dfbecf8e524cfb31ed485a916 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 26 Apr 2020 18:38:16 +0200 Subject: 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 --- .../luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/luci-mod-system/root/usr') 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 90a7001b78..ce67e4cdb8 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 @@ -42,8 +42,7 @@ "path": "system/dropbear" }, "depends": { - "acl": [ "luci-mod-system-ssh" ], - "uci": { "dropbear": true } + "acl": [ "luci-mod-system-ssh" ] } }, @@ -55,8 +54,7 @@ "path": "system/sshkeys" }, "depends": { - "acl": [ "luci-mod-system-ssh" ], - "uci": { "dropbear": true } + "acl": [ "luci-mod-system-ssh" ] } }, -- cgit v1.2.3