From c8ae7417970e54100cfca320d9f8fc368a6f1e90 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 30 Mar 2023 20:12:49 +0200 Subject: [PATCH] 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 (cherry picked from commit e1fa41ec15c66d1d26913b4394af48f5809d6d86) --- .../root/usr/share/luci/menu.d/luci-app-omcproxy.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } } } } -- 2.30.2