diff options
| author | Stan Grishin <stangri@melmac.net> | 2021-09-30 18:44:30 +0000 |
|---|---|---|
| committer | Stan Grishin <stangri@melmac.net> | 2021-10-14 04:23:17 +0000 |
| commit | f8d16338da979ad20908bd2a16ca62857a902e91 (patch) | |
| tree | 6e31ad3991e5cec323b9b3591199b462b7fe638b /net/https-dns-proxy/files/https-dns-proxy.hotplug.iface | |
| parent | 1edf781c1e0da778ba8ce4a07abca85a5c876a4a (diff) | |
https-dns-proxy: update to 2021-09-27
* update to [2021-09-27](https://github.com/aarond10/https_dns_proxy/commit/da2501f542a732167a78f1851a511d9c0abc2fd8)
* fixes https://github.com/aarond10/https_dns_proxy/issues/125
* restart instead of reload on interface hotplug
* fixes https://github.com/openwrt/packages/issues/16794
* produce output and log entries on service start/stop
* prevent unnecessary dnsmasq restarts if service has previously updated dnsmasq settings
* allow both named and typed dnsmasq instance settings to be updated
* update 010-fix-cmakelists patch file
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'net/https-dns-proxy/files/https-dns-proxy.hotplug.iface')
| -rw-r--r-- | net/https-dns-proxy/files/https-dns-proxy.hotplug.iface | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface b/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface index 542a8b34f..c25b9e26d 100644 --- a/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface +++ b/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface @@ -1,6 +1,6 @@ #!/bin/sh -if [ "$ACTION" = 'ifup' ] && [ "$INTERFACE" = 'wan' ]; then - logger -t "https-dns-proxy" "Reloading https-dns-proxy due to $ACTION of $INTERFACE" - /etc/init.d/https-dns-proxy reload +if [ "$ACTION" = 'ifup' ] && [ "$INTERFACE" = 'wan' ] && /etc/init.d/https-dns-proxy enabled; then + logger -t "https-dns-proxy" "Restarting https-dns-proxy due to $ACTION of $INTERFACE" + /etc/init.d/https-dns-proxy restart fi |
