summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2021-08-01 22:58:22 -0700
committerGitHub <noreply@github.com>2021-08-01 22:58:22 -0700
commit5c2b4873366439ed19f9dd176dc2fa22bd3e04b9 (patch)
tree77209b1af334bdca408be6180f5e1a92c1120008 /net/https-dns-proxy/files/https-dns-proxy.hotplug.iface
parentd09b3b7327a9a35d4d40586afa9f8852ee1bd8c5 (diff)
parent062e8f4fb3c721e3d802b46b5d6252ab2ce4c82f (diff)
Merge pull request #16252 from stangri/master-https-dns-proxy
https-dns-proxy: update to 2021-07-29-1
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.iface6
1 files changed, 6 insertions, 0 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
new file mode 100644
index 000000000..542a8b34f
--- /dev/null
+++ b/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface
@@ -0,0 +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
+fi