Skip to content

Commit

Permalink
Merge pull request openwrt#7013 from stangri/master-luci-app-https-dn…
Browse files Browse the repository at this point in the history
…s-proxy

luci-app-https-dns-proxy: prepare migration to APK
  • Loading branch information
stangri authored Mar 24, 2024
2 parents ae2b577 + 1efb3cd commit e0542c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/luci-app-https-dns-proxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk

PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <[email protected]>
PKG_VERSION:=2023-11-19-1
PKG_VERSION:=2023.11.19-r1

LUCI_TITLE:=DNS Over HTTPS Proxy Web UI
LUCI_DESCRIPTION:=Provides Web UI for DNS Over HTTPS Proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ readonly providersDir="/usr/share/${packageName}/providers"

is_enabled() { "/etc/init.d/${1}" enabled; }
is_running() { [ "$(ubus call service list "{ 'name': '$1' }" | jsonfilter -q -e "@['$1'].instances[*].running" | uniq)" = 'true' ]; }
get_version() { grep -m1 -A2 -w "^Package: $1$" /usr/lib/opkg/status | sed -n 's/Version: //p'; }
get_version() { /usr/sbin/https-dns-proxy -V; }
check_http2() { curl --version | grep -q 'nghttp2'; }
check_http3() { curl --version | grep -q 'nghttp3'; }
ubus_get_ports() { ubus call service list "{ 'name': '$packageName' }" | jsonfilter -e "@['${packageName}'].instances[*].data.firewall.*.dest_port"; }
Expand Down

0 comments on commit e0542c2

Please sign in to comment.