diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-05-17 19:32:26 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-05-17 19:32:52 +0200 |
commit | c7686d4b3c660dfe44eb2decbedce89c0873649e (patch) | |
tree | b56939361a2add559fd15983aeb69567b44e7dd7 /modules/luci-mod-system | |
parent | 786495518eb162805217b6d5306d4eddb90b3f7c (diff) |
luci-mod-system: make dropbear pages depend on dropbear executable
Fixes: #4052
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-mod-system')
-rw-r--r-- | modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json b/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json index ce67e4cdb..4022e0ceb 100644 --- a/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json +++ b/modules/luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json @@ -42,7 +42,8 @@ "path": "system/dropbear" }, "depends": { - "acl": [ "luci-mod-system-ssh" ] + "acl": [ "luci-mod-system-ssh" ], + "fs": { "/usr/sbin/dropbear": "executable" } } }, @@ -54,7 +55,8 @@ "path": "system/sshkeys" }, "depends": { - "acl": [ "luci-mod-system-ssh" ] + "acl": [ "luci-mod-system-ssh" ], + "fs": { "/usr/sbin/dropbear": "executable" } } }, |