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:
parent
0c556476f0
commit
200e2e2e7b
1 changed files with 0 additions and 6 deletions
|
@ -31,9 +31,6 @@
|
||||||
"action": {
|
"action": {
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"path": "system/dropbear"
|
"path": "system/dropbear"
|
||||||
},
|
|
||||||
"depends": {
|
|
||||||
"uci": { "dropbear": true }
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -43,9 +40,6 @@
|
||||||
"action": {
|
"action": {
|
||||||
"type": "view",
|
"type": "view",
|
||||||
"path": "system/sshkeys"
|
"path": "system/sshkeys"
|
||||||
},
|
|
||||||
"depends": {
|
|
||||||
"uci": { "dropbear": true }
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue