LOG after YOU

This commit is contained in:
qo-op 2021-06-21 19:30:41 +02:00
parent 8381e9f87d
commit 9f07411370
1 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,6 @@ groupe="$2"
avis="$(cat /tmp/${phone}_message)"
## LOG
echo "${phone};${groupe};${avis}" >> /home/${YOU}/.zen/SMS/received.log
########################################################################
echo "## GET STATION G1PUB"
########################################################################
@ -24,6 +21,9 @@ YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail
[[ ! -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)
## LOG
echo "${phone};${groupe};${avis}" >> /home/${YOU}/.zen/SMS/received.log
########################################################################
echo "## sha256sum($phone)"
########################################################################