From bca5d0ed8e4791b0c31b624c6fbc3e43e9c0a2a8 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Sun, 16 Oct 2022 12:04:51 +0000 Subject: 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 --- net/https-dns-proxy/files/https-dns-proxy.init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'net/https-dns-proxy/files') 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 -- cgit