From 51c4bc76621a6d5520a6e1b8d7c1ddba436dc7c0 Mon Sep 17 00:00:00 2001 From: qo-op Date: Fri, 25 Dec 2020 20:32:28 +0100 Subject: [PATCH] Friends should be in their swarm... Control ~/.zen/ipfs_swarm to verify --- zen/ipfs_SWARM_refresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index 3984e0b..52d230d 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -54,7 +54,7 @@ do myfriendpeer=$(cat ~/.zen/A_my_swarm.txt | grep $ipfsnodeid ) if [[ "$myfriendpeer" != "" ]]; then [[ ! $(ipfs swarm peers | grep $ipfsnodeid) ]] && ipfs swarm connect "$peerline" && ipfs bootstrap add "$peerline" - echo "OK REFRESH /ipns/$ipfsnodeid INTO ~/.zen/ipfs_swarm/" + echo "OK Friend REFRESH /ipns/$ipfsnodeid INTO ~/.zen/ipfs_swarm/" $MY_PATH/tools/timeout.sh -t 20 ipfs get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$ipfsnodeid else echo "KO ___________________ # YOU CAN ACTIVATE FAIL2BAN"