From c7686d4b3c660dfe44eb2decbedce89c0873649e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 17 May 2020 19:32:26 +0200 Subject: luci-mod-system: make dropbear pages depend on dropbear executable Fixes: #4052 Signed-off-by: Jo-Philipp Wich --- .../luci-mod-system/root/usr/share/luci/menu.d/luci-mod-system.json | 6 ++++-- 1 file 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 ce67e4cdb8..4022e0cebf 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" } } }, -- cgit v1.2.3