From 61ca2f4d16464a34e638806bd3b9d801d6446b35 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Mon, 24 Oct 2022 21:39:06 +0000 Subject: https-dns-proxy: add version information to binary * add patches/020-cmakelists-add-version.patch (thanks @baranyaib90) to add version information to the binary and fix https://github.com/aarond10/https_dns_proxy/issues/149 * modify Makefile to add version information for the binary * rename patches/010-fix-cmakelists.patch for better readability * revert back to service restart in WAN/WAN6 trigger * update test.sh to test both init script and binary versions Signed-off-by: Stan Grishin --- net/https-dns-proxy/files/https-dns-proxy.init | 4 ++-- 1 file changed, 2 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 1b1045d18..401c5ff40 100755 --- a/net/https-dns-proxy/files/https-dns-proxy.init +++ b/net/https-dns-proxy/files/https-dns-proxy.init @@ -262,7 +262,7 @@ service_triggers() { local wan wan6 i local wan6_trigger config_load "$packageName" - config_get_bool wan6_trigger 'config' 'wan6_trigger' '0' + config_get_bool wan6_trigger 'config' 'wan6_trigger' '0' . /lib/functions/network.sh network_flush_cache network_find_wan wan @@ -272,7 +272,7 @@ service_triggers() { wan6="${wan6:-wan6}" fi for i in "$wan" "$wan6"; do - [ -n "$i" ] && procd_add_interface_trigger "interface.*" "$i" "/etc/init.d/${packageName}" start + [ -n "$i" ] && procd_add_interface_trigger "interface.*" "$i" "/etc/init.d/${packageName}" restart done procd_add_config_trigger "config.change" "$packageName" "/etc/init.d/${packageName}" reload } -- cgit