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>
(backported from commit baa3bd4aac)
This commit is contained in:
Jo-Philipp Wich 2020-04-26 18:38:16 +02:00
parent 0c556476f0
commit 200e2e2e7b

View file

@ -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 }
}
},