#!/bin/sh source /lib/functions/network.shnetwork_find_wan WAN_IFACE if [ "${ACTION}" == "ifup" ] && [ "${INTERFACE}" == "${WAN_IFACE}" ] && [ ! -d /var/cache-domains ]; then /usr/bin/cache-domains configurefi