summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.init
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2022-10-16 23:57:41 -0700
committerGitHub <noreply@github.com>2022-10-16 23:57:41 -0700
commitcb6a9868dcfc81607beb0127bfd0e0a09bbc9729 (patch)
tree2e8a13b72741424fbe837202e2ef8d316ac663e8 /net/https-dns-proxy/files/https-dns-proxy.init
parent60e503a4d729ce0ca578d66b2dea0d8471de0172 (diff)
parentbca5d0ed8e4791b0c31b624c6fbc3e43e9c0a2a8 (diff)
Merge pull request #19611 from stangri/master-https-dns-proxy
https-dns-proxy: upstream bugfix for ca_info
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, 3 insertions, 2 deletions
diff --git a/net/https-dns-proxy/files/https-dns-proxy.init b/net/https-dns-proxy/files/https-dns-proxy.init
index f1a980c41..5c74234d2 100755
--- a/net/https-dns-proxy/files/https-dns-proxy.init
+++ b/net/https-dns-proxy/files/https-dns-proxy.init
@@ -1,7 +1,6 @@
#!/bin/sh /etc/rc.common
# Copyright 2019-2022 Stan Grishin (stangri@melmac.ca)
-# shellcheck disable=SC1091,SC2039,SC3043,SC3060
-PKG_VERSION='dev-test'
+# shellcheck disable=SC1091,SC3043,SC3060
# shellcheck disable=SC2034
START=80
@@ -15,6 +14,7 @@ else
EXTRA_COMMANDS='version'
fi
+readonly PKG_VERSION='dev-test'
readonly packageName='https-dns-proxy'
readonly serviceName="$packageName $PKG_VERSION"
readonly sharedMemoryOutput="/dev/shm/$packageName-output"
@@ -254,6 +254,7 @@ service_triggers() {
network_find_wan wan
network_find_wan6 wan6
wan="${wan:-wan}"
+ wan6="${wan6:-wan6}"
for i in "$wan" "$wan6"; do
procd_add_interface_trigger "interface.*" "$i" "/etc/init.d/${packageName}" restart
done