G1sms/shell/sms_ERROR.sh

17 lines
470 B
Bash
Raw Normal View History

2019-11-27 23:43:32 +01:00
#!/bin/bash
################################################################################
# Author: Fred (support@qo-op.com)
# Version: 0.1
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
################################################################################
source ./shell/init.sh
source ./shell/functions.sh
log "X sms_ERROR.sh ($1=phone, $2=message)"
MESS="Commande inconnue $2."
# Send response SMS
$(sms_ERROR "$1" "$MESS")
exit