forked from axiom-team/astroport
MY_PATH
This commit is contained in:
parent
e1df300d92
commit
c38ed7e17f
|
@ -9,7 +9,7 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
|||
|
||||
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1);
|
||||
if [[ $(whoami) == "root" ]]; then
|
||||
su $YOU
|
||||
su - $YOU
|
||||
cd $MY_PATH
|
||||
export IPFSNODEID=$(ipfs id -f='<id>\n')
|
||||
#chown -R $YOU /tmp/zen/
|
||||
|
|
Loading…
Reference in New Issue