From dbd1fd07e8bdde4626ab6701eba95c3f052cdac3 Mon Sep 17 00:00:00 2001 From: Gerard Ryan Date: Tue, 8 Mar 2022 22:33:52 +1000 Subject: [PATCH] cache-domains: Fixed hotplug script not running Signed-off-by: Gerard Ryan --- utils/cache-domains/Makefile | 2 +- utils/cache-domains/files/30-cache-domains | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/cache-domains/Makefile b/utils/cache-domains/Makefile index 848e1aa711..c9e8e2632d 100644 --- a/utils/cache-domains/Makefile +++ b/utils/cache-domains/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cache-domains -PKG_VERSION:=2.3.0 +PKG_VERSION:=2.3.1 PKG_RELEASE:=1 PKG_MAINTAINER:=Gerard Ryan diff --git a/utils/cache-domains/files/30-cache-domains b/utils/cache-domains/files/30-cache-domains index 0b7189bbf9..60b7a56ec9 100644 --- a/utils/cache-domains/files/30-cache-domains +++ b/utils/cache-domains/files/30-cache-domains @@ -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 -- 2.30.2