EVERYTHING OK
This commit is contained in:
parent
b48e43cf94
commit
c675a5a50e
|
@ -6,7 +6,9 @@ MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
|||
|
||||
# CHECK if daemon is already running
|
||||
[[ $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] \
|
||||
&& echo "ipfs daemon already running. EVERYTHING OK!" && ipfs id && exit 0
|
||||
&& echo "ipfs daemon already running. EVERYTHING OK!" \
|
||||
&& ipfs id && echo "SWARM PEERS" && ipfs swarm peers \
|
||||
&& echo "BOOTSTRAP LIST" && ipfs bootstrap list && exit 0
|
||||
|
||||
# CHECK not root user !!
|
||||
if [ "$EUID" -eq 0 ]
|
||||
|
|
Loading…
Reference in New Issue