summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2022-10-16 12:04:51 +0000
committerStan Grishin <stangri@melmac.ca>2022-10-16 12:06:55 +0000
commitbca5d0ed8e4791b0c31b624c6fbc3e43e9c0a2a8 (patch)
tree690c45c5f91df6da80057de4d58d5a048317606f /net/https-dns-proxy/files
parent18a12a17f3a837ff436c3ffe773261789b4d4b1e (diff)
https-dns-proxy: upstream bugfix for ca_info
* upstream bugfix: Add a forgotten 'NULL' initialize for ca_info if not manually set * make init script PKG_VERSION variable readonly so that a shellcheck excettion can be removed * add procd interface trigger to 'wan6' if IPv6 wan interface name cannot be obtained on start Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'net/https-dns-proxy/files')
-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