luci-app-omcproxy: relax menu dependencies
authorJo-Philipp Wich <jo@mein.io>
Thu, 30 Mar 2023 18:12:49 +0000 (20:12 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 3 Apr 2023 11:51:44 +0000 (13:51 +0200)
commitc8ae7417970e54100cfca320d9f8fc368a6f1e90
tree7c0d08374a77921260eb37f73881b2d13221c4c9
parent230ba69c5192ff4474e628f8bbbfa09fff3071ab
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 <jo@mein.io>
(cherry picked from commit e1fa41ec15c66d1d26913b4394af48f5809d6d86)
applications/luci-app-omcproxy/root/usr/share/luci/menu.d/luci-app-omcproxy.json