double auth have to be checked now
This commit is contained in:
parent
dfe7d2df69
commit
231caf7395
|
@ -94,10 +94,11 @@ for hashfile in /tmp/loveland_entrance/*; do
|
|||
done
|
||||
|
||||
## CHECK FOR DOUBLE AUTH REQUEST
|
||||
[[ ! -f /tmp/sms.commands ]] && exit 1
|
||||
for phone_auth in $(cat /tmp/sms.auth.commands) do
|
||||
if [[ -f /tmp/sms.auth.commands ]]; then
|
||||
for phone_auth in $(cat /tmp/sms.auth.commands) do
|
||||
$MY_PATH/sms_AUTH.sh $phone_auth
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
[[ -d /home/$YOU/.zen/g1sms/$PHONE ]] && [[ $(whoami) == "root" ]] && chown -R $YOU /home/$YOU/.zen/g1sms/$PHONE
|
||||
|
||||
|
|
Loading…
Reference in New Issue