bad YOU
This commit is contained in:
parent
1a30152799
commit
8fbcb6d72a
|
@ -20,9 +20,9 @@ echo "${phone};${groupe};${avis}" >> /home/${YOU}/.zen/SMS/received.log
|
|||
########################################################################
|
||||
echo "## GET STATION G1PUB"
|
||||
########################################################################
|
||||
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) || er+=" ipfs daemon not running"
|
||||
[[ ! -f /home/${YOU}/.zen/secret.dunikey ]] && echo "Crypto is missing... please provide /home/${YOU}/.zen/secret.dunikey by installing 'astrXbian' TestNet" && exit 1
|
||||
G1PUB=$(cat /home/${YOU}/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
|
||||
YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d " " -f 1) || er+=" ipfs daemon not running"
|
||||
|
||||
########################################################################
|
||||
echo "## sha256sum($phone)"
|
||||
|
|
Loading…
Reference in New Issue