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:
parent
4a94e53c4e
commit
baa3bd4aac
1 changed files with 2 additions and 4 deletions
|
@ -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" ]
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue