#!/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