diff --git a/tools/ipfs_config.sh b/tools/ipfs_config.sh index c3dd235b..33d8151a 100755 --- a/tools/ipfs_config.sh +++ b/tools/ipfs_config.sh @@ -5,6 +5,9 @@ myIP=$(hostname -I | awk '{print $1}') isLAN=$(route -n |awk '$1 == "0.0.0.0" {print $2}' | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(^172\.2[0-9]\.)|(^172\.3[0-1]\.)|(^::1$)|(^[fF][cCdD])/") + +sudo systemctl stop ipfs + ########################################### ### IMPORTANT !!!!!!! IMPORTANT !!!!!! ########################################### @@ -58,3 +61,4 @@ for bootnode in $(cat ~/.zen/Astroport.ONE/A_boostrap_nodes.txt | grep -Ev "#") ipfs bootstrap add $bootnode done +sudo systemctl start ipfs