From 2393289367bb3c4e366ee36cc66af9149687139b Mon Sep 17 00:00:00 2001 From: "Fritz D. Ansel" Date: Mon, 2 Aug 2021 20:22:43 +0200 Subject: network: hide dnamsq (dhcp+dns) item .. when no dnsmasq is installed, as it tells only that there are no settings available Signed-off-by: Fritz D. Ansel --- .../luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/luci-mod-network') diff --git a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json index 844f8cc752..62e046e609 100644 --- a/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json +++ b/modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json @@ -55,6 +55,9 @@ }, "depends": { "acl": [ "luci-mod-network-dhcp" ], + "fs": { + "/usr/sbin/dnsmasq": "executable" + }, "uci": { "dhcp": true } } }, -- cgit v1.2.3