RAZ mode
This commit is contained in:
parent
70cbfe6ac9
commit
25dadaab4b
|
@ -4,6 +4,10 @@
|
||||||
MY_PATH="`dirname \"$0\"`" # relative
|
MY_PATH="`dirname \"$0\"`" # relative
|
||||||
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
ME="${0##*/}"
|
ME="${0##*/}"
|
||||||
|
|
||||||
|
[[ "$1" == "RAZ" ]]; then
|
||||||
|
rm -Rf ~/.ssb*
|
||||||
|
else
|
||||||
echo '
|
echo '
|
||||||
########################################################################
|
########################################################################
|
||||||
# \\///
|
# \\///
|
||||||
|
@ -34,7 +38,7 @@ curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alon
|
||||||
HIT ENTER TO CONTINUE
|
HIT ENTER TO CONTINUE
|
||||||
'
|
'
|
||||||
read letsgo
|
read letsgo
|
||||||
|
fi
|
||||||
# "ipfs daemon" MUST be RUNNING
|
# "ipfs daemon" MUST be RUNNING
|
||||||
[[ ! $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] \
|
[[ ! $(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) ]] \
|
||||||
&& echo "EXIT! PLEASE INSTALL & RUN ipfs daemon WITH curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alone.sh | bash " \
|
&& echo "EXIT! PLEASE INSTALL & RUN ipfs daemon WITH curl -s https://git.p2p.legal/axiom-team/astroport/raw/master/.install/ipfs_alone.sh | bash " \
|
||||||
|
|
Loading…
Reference in New Issue