From 7e1b545bfa1d98a72d18c39528dade2b35421ed5 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Fri, 24 Oct 2025 15:36:09 +0200 Subject: [PATCH] luci-mod-network: change && to || for DHCP tab predicates Each prerequisite inside a { } forms an and condition. Each {} prerequisite forms an or condition. The tab wasn't displayed because odhcpd was not installed. The condition set required both. Now only require one or the other to display the DHCP tab. Closes #8033 Signed-off-by: Paul Donald --- .../root/usr/share/luci/menu.d/luci-mod-network.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 f66cb9c1de..2a783d1a56 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 @@ -67,7 +67,8 @@ }, "depends": { "acl": [ "luci-mod-network-dhcp" ], - "fs": { "/usr/sbin/odhcpd": "executable", "/usr/sbin/dnsmasq": "executable" }, + "fs": { "/usr/sbin/odhcpd": "executable" }, + "fs": { "/usr/sbin/dnsmasq": "executable" }, "uci": { "dhcp": true } } },