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>
This commit is contained in:
Jo-Philipp Wich 2020-04-26 18:38:16 +02:00
parent 4a94e53c4e
commit baa3bd4aac

View file

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