better bootstrap management
This commit is contained in:
parent
85ee3a2d30
commit
6342d41ed3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue