diff options
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, 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 |
