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>
"path": "system/dropbear"
},
"depends": {
- "acl": [ "luci-mod-system-ssh" ],
- "uci": { "dropbear": true }
+ "acl": [ "luci-mod-system-ssh" ]
}
},
"path": "system/sshkeys"
},
"depends": {
- "acl": [ "luci-mod-system-ssh" ],
- "uci": { "dropbear": true }
+ "acl": [ "luci-mod-system-ssh" ]
}
},