From 619ece36ebb9a52eba3f4f65a2a611c797bf239c Mon Sep 17 00:00:00 2001 From: qo-op Date: Fri, 22 May 2020 23:38:57 +0200 Subject: [PATCH] count=$((count+1)) --- zen/ipfs_SWARM_refresh.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index 948a2d7..1ea95d7 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -59,7 +59,7 @@ do echo "Refreshing /home/$YOU/.zen/ipfs_swarm/.$id ($count)" rm -Rf /home/$YOU/.zen/ipfs_swarm/.$id $MY_PATH/tools/timeout.sh -t 30 ipfs get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$id - count=$((count+1)) + #### IPFS SWARM - BLOB SHAPING CONTROL - ### CHECK Astroport Station Database Coherence? @@ -75,7 +75,8 @@ do [[ ! $isMyFriend ]] && echo "WARNING! $count NOT my SSB Friend... $ssbID" # TODO Send sbotc message? # TODO: PROD ACTIVATE # && ipfs swarm disconnect $peer && ipfs bootstrap rm $peer ## TODO: Use fail2ban if same node continue entering our swarm... - + + count=$((count+1)) done