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
baa3bd4aac64984dfbecf8e524cfb31ed485a916)
"action": {
"type": "view",
"path": "system/dropbear"
- },
- "depends": {
- "uci": { "dropbear": true }
}
},
"action": {
"type": "view",
"path": "system/sshkeys"
- },
- "depends": {
- "uci": { "dropbear": true }
}
},