cache-domains: Fixed hotplug script not running
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
parent
6df8f76efc
commit
109f2770a1
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
|
@ -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…
Reference in a new issue