diff options
| author | Stan Grishin <stangri@melmac.ca> | 2023-02-22 20:35:59 +0000 |
|---|---|---|
| committer | Stan Grishin <stangri@melmac.ca> | 2023-02-22 20:36:06 +0000 |
| commit | 30aefce999bab3c24ce06594ee2f411cf2d8c72f (patch) | |
| tree | 1930677200d7a6a435717adfc75bdb554ff6b920 /net/https-dns-proxy/files | |
| parent | 0cdd7b8c0e7a5461e0a9311734c0cc6cd87aa188 (diff) | |
https-dns-proxy: 2022-10-15-11 update
* config file update
* introduce boot() function
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/https-dns-proxy/files')
| -rw-r--r-- | net/https-dns-proxy/files/https-dns-proxy.config | 4 | ||||
| -rwxr-xr-x | net/https-dns-proxy/files/https-dns-proxy.init | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/net/https-dns-proxy/files/https-dns-proxy.config b/net/https-dns-proxy/files/https-dns-proxy.config index 0606055e5..39b807b45 100644 --- a/net/https-dns-proxy/files/https-dns-proxy.config +++ b/net/https-dns-proxy/files/https-dns-proxy.config @@ -19,7 +19,7 @@ config https-dns-proxy option bootstrap_dns '1.1.1.1,1.0.0.1' option resolver_url 'https://cloudflare-dns.com/dns-query' option listen_addr '127.0.0.1' - option listen_port '5054' + option listen_port '5053' option user 'nobody' option group 'nogroup' @@ -27,6 +27,6 @@ config https-dns-proxy option bootstrap_dns '8.8.8.8,8.8.4.4' option resolver_url 'https://dns.google/dns-query' option listen_addr '127.0.0.1' - option listen_port '5053' + option listen_port '5054' option user 'nobody' option group 'nogroup' diff --git a/net/https-dns-proxy/files/https-dns-proxy.init b/net/https-dns-proxy/files/https-dns-proxy.init index 0e75a14d7..b4c55fea3 100755 --- a/net/https-dns-proxy/files/https-dns-proxy.init +++ b/net/https-dns-proxy/files/https-dns-proxy.init @@ -127,6 +127,11 @@ append_bootstrap() { [ "$ipv6_resolvers_only" -eq 0 ] && xappend '-4' } +boot() { + ubus -t 30 wait_for network.interface 2>/dev/null + rc_procd start_service 'on_boot' +} + start_instance() { local cfg="$1" param listen_addr listen_port ipv6_resolvers_only p url |
