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>
This commit is contained in:
parent
7a4afdcb05
commit
e1fa41ec15
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
"path": "omcproxy"
|
"path": "omcproxy"
|
||||||
},
|
},
|
||||||
"depends": {
|
"depends": {
|
||||||
"uci": { "omcproxy": true }
|
"fs": { "/etc/config/omcproxy": "file" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue