Browse Source

cache-domains: Fixed hotplug script not running

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
lilik-openwrt-22.03
Gerard Ryan 2 years ago
committed by Rosen Penev
parent
commit
dbd1fd07e8
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      utils/cache-domains/Makefile
  2. +1
    -1
      utils/cache-domains/files/30-cache-domains

+ 1
- 1
utils/cache-domains/Makefile View File

@ -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 <G.M0N3Y.2503@gmail.com>


+ 1
- 1
utils/cache-domains/files/30-cache-domains View File

@ -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


Loading…
Cancel
Save