make sure ipfs daemon is stopped

This commit is contained in:
fred 2023-01-30 17:54:41 +01:00
parent 4110474930
commit 11d69d658f
1 changed files with 4 additions and 0 deletions

View File

@ -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