From c7b5d2fa4e2d9630dd4d234c37e5a8a0afe3306a Mon Sep 17 00:00:00 2001 From: qo-op Date: Thu, 28 May 2020 20:17:15 +0200 Subject: [PATCH] YOU and IPFSNODEID coming from init.sh --- g1sms/init_keys.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/g1sms/init_keys.sh b/g1sms/init_keys.sh index 817176e..707f872 100755 --- a/g1sms/init_keys.sh +++ b/g1sms/init_keys.sh @@ -9,9 +9,6 @@ MY_PATH="`dirname \"$0\"`" # relative MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized -export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) -export IPFSNODEID=$(ipfs id -f='\n') - [[ $IPFSNODEID == "" ]] && echo "PROBLEM GETTING IPFSNODEID" && exit 1 [[ $YOU == "" ]] && echo "PROBLEM GETTING YOU" && exit 1