diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-26 18:38:16 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-26 18:45:58 +0200 |
commit | baa3bd4aac64984dfbecf8e524cfb31ed485a916 (patch) | |
tree | f97157e779b796d028ae9a1284c4d306cf23cf17 /modules | |
parent | 4a94e53c4ebb663777d6658833fc3d39a81dee3e (diff) |
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 <jo@mein.io>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json | 6 |
1 files changed, 2 insertions, 4 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 90a7001b7..ce67e4cdb 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" ] } }, |