2020-05-01 15:19:51 +02:00
|
|
|
#!/bin/bash
|
|
|
|
################################################################################
|
|
|
|
# Author: Fred (support@qo-op.com)
|
|
|
|
# Version: 0.1
|
|
|
|
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
|
|
|
################################################################################
|
2020-05-03 23:37:47 +02:00
|
|
|
source ./init.sh
|
|
|
|
source ./functions.sh
|
2020-05-01 15:19:51 +02:00
|
|
|
log "X sms_ERROR.sh ($1=phone, $2=message)"
|
|
|
|
|
|
|
|
MESS="Commande inconnue $2."
|
|
|
|
|
|
|
|
# Send response SMS
|
|
|
|
$(sms_ERROR "$1" "$MESS")
|
|
|
|
|
|
|
|
exit
|