From: Jo-Philipp Wich Date: Thu, 30 Mar 2023 18:12:49 +0000 (+0200) Subject: luci-app-omcproxy: relax menu dependencies X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e1fa41ec15c66d1d26913b4394af48f5809d6d86;p=project%2Fluci.git luci-app-omcproxy: relax menu dependencies The uci configuration may be completely empty, so adjust the menu dependency to check the existence of the configuration file itself instead. Fixes: #6301 Supersedes: #6304 Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-omcproxy/root/usr/share/luci/menu.d/luci-app-omcproxy.json b/applications/luci-app-omcproxy/root/usr/share/luci/menu.d/luci-app-omcproxy.json index 1eb7aaa75d..eead62752f 100644 --- a/applications/luci-app-omcproxy/root/usr/share/luci/menu.d/luci-app-omcproxy.json +++ b/applications/luci-app-omcproxy/root/usr/share/luci/menu.d/luci-app-omcproxy.json @@ -6,7 +6,7 @@ "path": "omcproxy" }, "depends": { - "uci": { "omcproxy": true } + "fs": { "/etc/config/omcproxy": "file" } } } }