luci-mod-system: make dropbear pages depend on dropbear executable
Fixes: #4052
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from commit c7686d4b3c
)
This commit is contained in:
parent
fb2f363067
commit
ccd9d67598
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/dropbear"
|
||||
},
|
||||
"depends": {
|
||||
"fs": { "/usr/sbin/dropbear": "executable" }
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -40,6 +43,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/sshkeys"
|
||||
},
|
||||
"depends": {
|
||||
"fs": { "/usr/sbin/dropbear": "executable" }
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue