summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.init
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2022-10-21 14:15:38 -0700
committerGitHub <noreply@github.com>2022-10-21 14:15:38 -0700
commitf2496271a03305d19d8ced4be9d6c8d964b20560 (patch)
tree3ed6048dbdbe8d45bc0d690859d7dbc093b51f52 /net/https-dns-proxy/files/https-dns-proxy.init
parent3c685e8d13c859ac03b0275dfce88447ff07e88b (diff)
parent425cef2f8c0fd9f90d5f39c9777c877be09c2547 (diff)
Merge pull request #19660 from stangri/master-https-dns-proxy
https-dns-proxy: bugfix: prevent creation of empty interface trigger
Diffstat (limited to 'net/https-dns-proxy/files/https-dns-proxy.init')
-rwxr-xr-xnet/https-dns-proxy/files/https-dns-proxy.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/https-dns-proxy/files/https-dns-proxy.init b/net/https-dns-proxy/files/https-dns-proxy.init
index 9395c88ea..64a4b82b9 100755
--- a/net/https-dns-proxy/files/https-dns-proxy.init
+++ b/net/https-dns-proxy/files/https-dns-proxy.init
@@ -269,7 +269,7 @@ service_triggers() {
network_find_wan6 wan6
wan6="${wan6:-wan6}"
fi
- for i in "$wan" "$wan6"; do
+ for i in $wan $wan6; do
procd_add_interface_trigger "interface.*" "$i" "/etc/init.d/${packageName}" start
done
procd_add_config_trigger "config.change" "$packageName" "/etc/init.d/${packageName}" start