diff options
| author | Stan Grishin <stangri@melmac.net> | 2020-09-28 20:10:30 +0000 |
|---|---|---|
| committer | Paul Spooren <mail@aparcar.org> | 2020-12-09 23:32:19 -1000 |
| commit | 822939f5371346c6829020ca507fc0a946fcd401 (patch) | |
| tree | 4bf4a90efe38f65243ea98dfcd4c84f1104b4ec1 /net/https-dns-proxy/files/https-dns-proxy.init | |
| parent | 6d4b8cfb7612eab66c6afac811ee7e197132a6a8 (diff) | |
https-dns-proxy: update binary to 2020-08-21
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'net/https-dns-proxy/files/https-dns-proxy.init')
| -rwxr-xr-x | net/https-dns-proxy/files/https-dns-proxy.init | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/net/https-dns-proxy/files/https-dns-proxy.init b/net/https-dns-proxy/files/https-dns-proxy.init index 1614d9096..cb561372e 100755 --- a/net/https-dns-proxy/files/https-dns-proxy.init +++ b/net/https-dns-proxy/files/https-dns-proxy.init @@ -1,9 +1,16 @@ #!/bin/sh /etc/rc.common -# Copyright 2019 Stan Grishin (stangri@melmac.net) +# Copyright 2019-2020 Stan Grishin (stangri@melmac.net) # shellcheck disable=SC2039 +PKG_VERSION='dev-test' -export START=80 -export USE_PROCD=1 +# shellcheck disable=SC2034 +START=80 +# shellcheck disable=SC2034 +USE_PROCD=1 + +# shellcheck disable=SC2034 +EXTRA_COMMANDS='version' +version() { echo "$PKG_VERSION"; } dnsmasqConfig='' @@ -46,15 +53,15 @@ start_instance() { append_parm "$cfg" 'logfile' '-l' append_bool "$cfg" 'use_http1' '-x' config_get_bool ipv6_resolvers_only "$cfg" 'use_ipv6_resolvers_only' '0' - config_get verbosity "$cfg" 'verbosity' "0" + config_get verbosity "$cfg" 'verbosity' '0' # shellcheck disable=SC2086,SC2154 for i in $(seq 1 $verbosity); do - xappend "-v" + xappend '-v' done # shellcheck disable=SC2154 if [ "$ipv6_resolvers_only" = 0 ]; then - xappend "-4" + xappend '-4' fi procd_open_instance |
