summaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface
blob: 542a8b34f77b3ac755495bdb1446e31d4c5aef3d (plain)
1
2
3
4
5
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