diff --git a/getdomains-install.sh b/getdomains-install.sh index f80fcf0..2444c26 100755 --- a/getdomains-install.sh +++ b/getdomains-install.sh @@ -530,6 +530,7 @@ cat << 'EOF' >> /etc/init.d/getdomains else echo "GitHub is not available. Check the internet availability [$count]" count=$((count+1)) + sleep 5 fi done diff --git a/templates/openwrt-getdomains.j2 b/templates/openwrt-getdomains.j2 index 5050402..95e3408 100644 --- a/templates/openwrt-getdomains.j2 +++ b/templates/openwrt-getdomains.j2 @@ -34,6 +34,7 @@ start () { else echo "GitHub is not available. Check the internet availability [$count]" count=$((count+1)) + sleep 5 fi done @@ -71,6 +72,7 @@ start () { else echo "antifilter.download is not available. Check the internet availability [$count]" count=$((count+1)) + sleep 5 fi done