Fix bootstrap
This commit is contained in:
parent
3378462c00
commit
a48d536bd2
|
@ -141,8 +141,6 @@ if [[ $bootnode != "" ]]; then
|
||||||
~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" stars -p $g1node -n 1
|
~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" stars -p $g1node -n 1
|
||||||
### DELETE
|
### DELETE
|
||||||
# ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" unstars -p $g1node
|
# ~/.zen/astrXbian/zen/jaklis/jaklis.py -k ~/.zen/secret.dunikey -n "https://data.gchange.fr" unstars -p $g1node
|
||||||
## ADD TO BOOTSTRAP
|
|
||||||
ipfs bootstrap add $bootnode
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -271,6 +269,11 @@ ipfs config --json Experimental.P2pHttpProxy true
|
||||||
|
|
||||||
# EMPTY IPFS BOOTSTRAP - Gchange+ friends sends ipfstryme message ###########
|
# EMPTY IPFS BOOTSTRAP - Gchange+ friends sends ipfstryme message ###########
|
||||||
ipfs bootstrap rm --all
|
ipfs bootstrap rm --all
|
||||||
|
for bootnode in $(cat ~/.zen/astrXbian/A_boostrap_nodes.txt | grep -Ev "#") # remove comments
|
||||||
|
do
|
||||||
|
## ADD TO BOOTSTRAP
|
||||||
|
ipfs bootstrap add $bootnode
|
||||||
|
done
|
||||||
|
|
||||||
# AVOID CONFLICT WITH KODI REMOTE
|
# AVOID CONFLICT WITH KODI REMOTE
|
||||||
ipfs config Addresses.Gateway "/ip4/127.0.0.1/tcp/8181"
|
ipfs config Addresses.Gateway "/ip4/127.0.0.1/tcp/8181"
|
||||||
|
|
Loading…
Reference in New Issue