1
0
Fork 0
This commit is contained in:
qo-op 2020-05-11 15:13:06 +02:00
parent e1df300d92
commit c38ed7e17f
1 changed files with 1 additions and 1 deletions

View File

@ -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/