From: Jo-Philipp Wich Date: Sun, 17 May 2020 17:32:26 +0000 (+0200) Subject: luci-mod-system: make dropbear pages depend on dropbear executable X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c7686d4b3c660dfe44eb2decbedce89c0873649e;p=openwrt-luci.git luci-mod-system: make dropbear pages depend on dropbear executable Fixes: #4052 Signed-off-by: Jo-Philipp Wich --- 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" } } },