recall GUILDES
This commit is contained in:
parent
8df27b7fde
commit
ebadd9250b
|
@ -9,7 +9,14 @@ phone="$1"
|
||||||
phonehash=$(echo $phone | sha256sum | cut -d ' ' -f1)
|
phonehash=$(echo $phone | sha256sum | cut -d ' ' -f1)
|
||||||
SMSADMIN="$(cat /home/${YOU}/.zen/SMSADMIN)"
|
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
|
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
|
sudo gammu sendsms TEXT \"$phone\" -text \"$MESS\"" > /home/${YOU}/.zen/SMS/PHONE/${phonehash}/$(date -u +%s%N | cut -b1-13).tosend.sh
|
||||||
|
|
Loading…
Reference in New Issue