ipfs renew bootstraping
This commit is contained in:
parent
9c2bb72fff
commit
a1687f6fde
|
@ -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##*/}
|
||||
|
|
Loading…
Reference in New Issue