better bootstrap management

This commit is contained in:
qo-op 2021-04-30 14:30:46 +02:00
parent 85ee3a2d30
commit 6342d41ed3
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ rm /tmp/treated.ipfs.swarm
touch /tmp/treated.ipfs.swarm
## RESET BOOTSTRAP LIST
ipfs bootstrap rm --all > /dev/null 2>&1
# ipfs bootstrap rm --all > /dev/null 2>&1
########################################################################
########################################################################
@ -133,8 +133,8 @@ do
fi
if [[ ! $isLAN ]]; then
ipfs swarm disconnect "$peerline"
ipfs bootstrap rm "$peerline"
fi
ipfs bootstrap rm "$peerline"
fi
echo "$ipfsnodeid" >> /tmp/treated.ipfs.swarm
done