PHONE control SMS
This commit is contained in:
parent
b67b3733b1
commit
0330d5c087
|
@ -44,6 +44,11 @@ for hashfile in /tmp/loveland_entrance/*; do
|
|||
[[ ! -f $hashfile ]] && continue
|
||||
PP=$(cat $hashfile)
|
||||
PHONE=$(echo $PP | cut -d '|' -f 1)
|
||||
|
||||
[[ ! ${#PHONE} -eq 12 ]] && exit 1
|
||||
[[ ! ${PHONE:3:1} == "6" && ! ${PHONE:3:1} == "7" ]] && exit 1
|
||||
|
||||
|
||||
PARRAIN=$(echo $PP | cut -d '|' -f 2)
|
||||
NAISSANCE=$(echo $PP | cut -d '|' -f 3)
|
||||
|
||||
|
|
Loading…
Reference in New Issue