YOU and IPFSNODEID coming from init.sh

This commit is contained in:
qo-op 2020-05-28 20:17:15 +02:00
parent 1de65f9612
commit c7b5d2fa4e
1 changed files with 0 additions and 3 deletions

View File

@ -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='<id>\n')
[[ $IPFSNODEID == "" ]] && echo "PROBLEM GETTING IPFSNODEID" && exit 1
[[ $YOU == "" ]] && echo "PROBLEM GETTING YOU" && exit 1