forked from axiom-team/astrXbian
8 lines
209 B
Bash
Executable File
8 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
|
|
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) && [[ ! $YOU ]] && echo "ipfs NOT RUNNING. EXIT" && exit 1
|
|
|
|
ls /home/$YOU/.zen/PIN | cat
|
|
|
|
|