|
|
@ -3,7 +3,7 @@ |
|
|
|
. /lib/functions/network.sh |
|
|
|
network_find_wan WAN_IFACE |
|
|
|
|
|
|
|
if [ "${ACTION}" = "ifup" ] && [ "${INTERFACE}" = "${WAN_IFACE}" ] && [ ! -d /var/cache-domains ]; then |
|
|
|
if [ "${ACTION}" = "ifup" ] && [ "${INTERFACE}" = "${WAN_IFACE}" ] && [ ! -e /var/cache-domains/lancache.conf ]; then |
|
|
|
for ATTEMPT in $(seq 1 3); do |
|
|
|
if /usr/bin/cache-domains configure; then |
|
|
|
break |
|
|
|