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:
Jo-Philipp Wich 2020-05-17 19:32:26 +02:00
parent fb2f363067
commit ccd9d67598

View file

@ -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" }
}
},