From c3860d80f3cc4e882da2a7705c8d104bd283378e Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 11 Sep 2021 02:10:19 +0200 Subject: [PATCH] trying to remove... --- zen/ipfs_SWARM_refresh.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zen/ipfs_SWARM_refresh.sh b/zen/ipfs_SWARM_refresh.sh index b0964e2..476496f 100755 --- a/zen/ipfs_SWARM_refresh.sh +++ b/zen/ipfs_SWARM_refresh.sh @@ -125,7 +125,8 @@ do ipfs --timeout=60s get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$ipfsnodeid if [ $? != 0 ]; then - echo "TIMEOUT REACHED ___ SHOULD I REMOVE $ipfsnodeid FROM ~/.zen/A_my_swarm.txt? DO NOTHING"; + echo "TIMEOUT REACHED ___ REMOVE FROM .Peering.Peers "; + # jq '.Peering.Peers |= map( if .ID=="'$ipfsnodeid'" then del(.) else . end )' ~/.ipfs/config.new > ~/.ipfs/config.wew && cp ~/.ipfs/config.wew ~/.ipfs/config.new else ################################################################ echo "@@ CREATING Peering.Peer @@"