cache-domains: Fixed hotplug script not running
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
parent
862ab6e4d4
commit
dbd1fd07e8
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=cache-domains
|
PKG_NAME:=cache-domains
|
||||||
PKG_VERSION:=2.3.0
|
PKG_VERSION:=2.3.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
. /lib/functions/network.sh
|
. /lib/functions/network.sh
|
||||||
network_find_wan WAN_IFACE
|
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
|
for ATTEMPT in $(seq 1 3); do
|
||||||
if /usr/bin/cache-domains configure; then
|
if /usr/bin/cache-domains configure; then
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue