diff options
| author | Stan Grishin <stangri@melmac.ca> | 2022-10-24 21:39:06 +0000 |
|---|---|---|
| committer | Stan Grishin <stangri@melmac.ca> | 2022-10-24 21:54:11 +0000 |
| commit | 6f49212bcf31239fc2407828fb6fa01d05fc60d3 (patch) | |
| tree | b49fc249de17e2cbb6ff89ea0eb0e9f0d79acdf3 /net/https-dns-proxy/files/https-dns-proxy.init | |
| parent | 14125f800292650fe404e87aabd3bdf97a4d6c3f (diff) | |
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 <stangri@melmac.ca>
(cherry picked from commit 61ca2f4d16464a34e638806bd3b9d801d6446b35)
Diffstat (limited to 'net/https-dns-proxy/files/https-dns-proxy.init')
| -rwxr-xr-x | net/https-dns-proxy/files/https-dns-proxy.init | 4 |
1 files changed, 2 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 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 } |
