luci-app-https-dns-proxy: fix curl-related error in logs
* if curl is not installed, there used to be an error in logs from uhttpd that curl is not found, this commit addresses it Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
parent
6e1096da68
commit
5553a66903
3 changed files with 2 additions and 16 deletions
|
@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
|
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
|
||||||
PKG_VERSION:=2022-10-15-11
|
PKG_VERSION:=2022-10-15-14
|
||||||
|
|
||||||
LUCI_TITLE:=DNS Over HTTPS Proxy Web UI
|
LUCI_TITLE:=DNS Over HTTPS Proxy Web UI
|
||||||
LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy
|
LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy
|
||||||
|
|
|
@ -103,7 +103,7 @@ else
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if sys.call("curl --version | grep -q HTTP2") == 0 then
|
if sys.call("grep -q 'Provides: libnghttp2' /usr/lib/opkg/status") == 0 then
|
||||||
http2Supported = true
|
http2Supported = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -14,16 +14,10 @@ msgid "360 Secure DNS - CN"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns-family.lua:3
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.adguard-dns.dns-family.lua:3
|
|
||||||
msgid "AdGuard (Family Protection)"
|
msgid "AdGuard (Family Protection)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.adguard-dns.dns-nonfiltering.lua:3
|
|
||||||
msgid "AdGuard (Non-filtering)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.adguard.dns.lua:3
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/io.adguard-dns.dns.lua:3
|
|
||||||
msgid "AdGuard (Standard)"
|
msgid "AdGuard (Standard)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -171,17 +165,14 @@ msgstr ""
|
||||||
msgid "Configuration"
|
msgid "Configuration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.malware-ads-social.lua:3
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p3.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p3.lua:3
|
||||||
msgid "ControlD (Block Malware + Ads + Social)"
|
msgid "ControlD (Block Malware + Ads + Social)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.malware-ads.lua:3
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p2.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p2.lua:3
|
||||||
msgid "ControlD (Block Malware + Ads)"
|
msgid "ControlD (Block Malware + Ads)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.malware.lua:3
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p1.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p1.lua:3
|
||||||
msgid "ControlD (Block Malware)"
|
msgid "ControlD (Block Malware)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -191,7 +182,6 @@ msgid "ControlD (Family)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p0.lua:3
|
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.p0.lua:3
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/com.controld.freedns.unfiltered.lua:3
|
|
||||||
msgid "ControlD (Unfiltered)"
|
msgid "ControlD (Unfiltered)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
@ -460,10 +450,6 @@ msgstr ""
|
||||||
msgid "Tiarap Public DNS - SG"
|
msgid "Tiarap Public DNS - SG"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/https-dns-proxy/providers/cn.edu.tsinghua.tuna.dns.lua:3
|
|
||||||
msgid "Tsinghua University Secure DNS - CN"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:65
|
#: applications/luci-app-https-dns-proxy/luasrc/model/cbi/https-dns-proxy.lua:65
|
||||||
msgid "Unknown Provider"
|
msgid "Unknown Provider"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
Loading…
Reference in a new issue