forked from axiom-team/astrXbian
7 lines
222 B
Bash
7 lines
222 B
Bash
|
#!/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
|
||
|
|
||
|
cat /home/$YOU/.zen/ipfs/.12D*/_xbian.zuid
|
||
|
|