recall GUILDES

This commit is contained in:
qo-op 2021-07-08 01:31:27 +02:00
parent 8df27b7fde
commit ebadd9250b
1 changed files with 8 additions and 1 deletions

View File

@ -9,7 +9,14 @@ phone="$1"
phonehash=$(echo $phone | sha256sum | cut -d ' ' -f1)
SMSADMIN="$(cat /home/${YOU}/.zen/SMSADMIN)"
MESS="Zones Experimentales Précaires - GUILDES SMS 160 caracteres - ADMIN : $SMSADMIN - https://oasis.astroport.com"
guilde=""
for guildes in /home/${YOU}/.zen/SMS/PHONE/${phonehash}/GUILDES/*; do
guilde="$(echo "$guildes" | cut -d '/' -f 9);$guilde"
done; echo "$guilde"
MESS="MadeInZion
Vos guildes : $guilde
Organisateur : $SMSADMIN"
echo "#!/bin/bash
sudo gammu sendsms TEXT \"$phone\" -text \"$MESS\"" > /home/${YOU}/.zen/SMS/PHONE/${phonehash}/$(date -u +%s%N | cut -b1-13).tosend.sh