YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1);

This commit is contained in:
qo-op 2020-05-11 08:21:08 +02:00
parent d3d8c8fb9c
commit a77c58543d
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@
MY_PATH="`dirname \"$0\"`" # relative
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);
## Récupère les données du profile
source /home/$YOU/.zen/secret.astroport.key