diff --git a/sms/GUILDE.sh b/sms/GUILDE.sh index 5fa814a..7f84a5d 100755 --- a/sms/GUILDE.sh +++ b/sms/GUILDE.sh @@ -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)" ########################################################################