Skip to content

Commit af322ae

Browse files
committed
better procd_add_interface_trigger
1 parent a99608b commit af322ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=https-dns-proxy
44
PKG_VERSION:=2023.12.26
5-
PKG_RELEASE:=2
5+
PKG_RELEASE:=3
66

77
PKG_SOURCE_PROTO:=git
88
PKG_SOURCE_URL:=https://github.com/aarond10/https_dns_proxy/

files/etc/init.d/https-dns-proxy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ service_triggers() {
320320
wan6="${wan6:-wan6}"
321321
fi
322322
output "Setting trigger${wan6:+s} for $wan ${wan6:+$wan6 }"
323-
for i in "$wan" "$wan6"; do
323+
for i in $wan $wan6; do
324324
procd_add_interface_trigger "interface.*" "$i" "/etc/init.d/${packageName}" restart 'on_interface_trigger' && output_ok || output_fail
325325
done
326326
output '\n'

0 commit comments

Comments
 (0)