ipfs renew bootstraping

This commit is contained in:
qo-op 2021-05-23 18:30:42 +02:00
parent 9c2bb72fff
commit a1687f6fde
1 changed files with 2 additions and 2 deletions

View File

@ -115,9 +115,9 @@ echo $(date)
## SWARM LOST !! EMERGENCY RECOVERY
########################################################################
ipfs bootstrap
ipfs bootstrap > /tmp/ipfs_bootstrap
## REBOOTSTRAP
[[ $(ipfs bootstrap | wc -l) -lt 2 ]] && ipfs bootstrap rm --all
[[ $(cat /tmp/ipfs_bootstrap | wc -l) -lt 2 ]] && ipfs bootstrap rm --all
for bootnode in $(cat ~/.zen/astrXbian/A_boostrap_nodes.txt | grep -Ev "#") # remove comments
do
ipfsnodeid=${bootnode##*/}