YOU and IPFSNODEID coming from init.sh
This commit is contained in:
parent
1de65f9612
commit
c7b5d2fa4e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue