summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.init
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-02-22 21:47:39 -0700
committerGitHub <noreply@github.com>2023-02-22 21:47:39 -0700
commitd7852c9887c2b576392fb12a2c29302443217bf7 (patch)
tree2dda15dbe9a84c82d744eb0dcbac8aa4eab611b0 /net/https-dns-proxy/files/https-dns-proxy.init
parentc3c7083e656da878b674f96838b43c35d8aabe63 (diff)
parent30aefce999bab3c24ce06594ee2f411cf2d8c72f (diff)
Merge pull request #20554 from stangri/master-https-dns-proxy
https-dns-proxy: 2022-10-15-11 update
Diffstat (limited to 'net/https-dns-proxy/files/https-dns-proxy.init')
-rwxr-xr-xnet/https-dns-proxy/files/https-dns-proxy.init5
1 files changed, 5 insertions, 0 deletions
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