From f8d16338da979ad20908bd2a16ca62857a902e91 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Thu, 30 Sep 2021 18:44:30 +0000 Subject: 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 --- net/https-dns-proxy/files/https-dns-proxy.hotplug.iface | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'net/https-dns-proxy/files/https-dns-proxy.hotplug.iface') 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 -- cgit