summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-system/root/usr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-26 18:38:16 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-26 18:45:58 +0200
commitbaa3bd4aac64984dfbecf8e524cfb31ed485a916 (patch)
treef97157e779b796d028ae9a1284c4d306cf23cf17 /modules/luci-mod-system/root/usr
parent4a94e53c4ebb663777d6658833fc3d39a81dee3e (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/luci-mod-system/root/usr')
-rw-r--r--modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json6
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 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" ]
}
},