aboutsummaryrefslogtreecommitdiff
path: root/net/https-dns-proxy/files/https-dns-proxy.hotplug.iface
blob: c25b9e26d043b47a9f917564c0a78474cab28e4d (plain)
1
2
3
4
5
6
#!/bin/sh

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