/home/${YOU}/.zen/SMS/received.log

This commit is contained in:
qo-op 2021-07-08 06:44:43 +02:00
parent ba79eda675
commit f9c19c7c43
2 changed files with 3 additions and 3 deletions

View File

@ -25,9 +25,6 @@ G1PUB=$(cat /home/${YOU}/.zen/secret.dunikey | grep 'pub:' | cut -d ' ' -f 2)
SMSADMIN="$(cat /home/${YOU}/.zen/SMSADMIN)"
## LOG
echo "${phone};${guilde};${message}" >> /home/${YOU}/.zen/SMS/received.log
########################################################################
echo "## sha256sum($phone)"
########################################################################

View File

@ -68,6 +68,9 @@ echo "TEXT: $TEXT"
########################################################################
CMD=$(echo "$TEXT" | awk '{print toupper($1)}')
## LOG
echo "${phone};${TEXT}" >> /home/${YOU}/.zen/SMS/received.log
########################################################################
# SWITCH CASE DEPENDING ON SMS TEXT FIRST WORD
########################################################################