From 11d69d658f6de2a9fe95b157eb0911d74bff6c5a Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 30 Jan 2023 17:54:41 +0100 Subject: [PATCH] make sure ipfs daemon is stopped --- tools/ipfs_config.sh | 4 ++++ 1 file changed, 4 insertions(+) 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