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
|
touch /tmp/treated.ipfs.swarm
|
||||||
|
|
||||||
## RESET BOOTSTRAP LIST
|
## 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
|
fi
|
||||||
if [[ ! $isLAN ]]; then
|
if [[ ! $isLAN ]]; then
|
||||||
ipfs swarm disconnect "$peerline"
|
ipfs swarm disconnect "$peerline"
|
||||||
ipfs bootstrap rm "$peerline"
|
|
||||||
fi
|
fi
|
||||||
|
ipfs bootstrap rm "$peerline"
|
||||||
fi
|
fi
|
||||||
echo "$ipfsnodeid" >> /tmp/treated.ipfs.swarm
|
echo "$ipfsnodeid" >> /tmp/treated.ipfs.swarm
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue