astroport/g1sms/sms_ERROR.sh

17 lines
448 B
Bash
Raw Normal View History

2020-05-01 15:19:51 +02:00
#!/bin/bash
################################################################################
# Author: Fred (support@qo-op.com)
2020-05-07 02:27:11 +02:00
# Version: 1.0
2020-05-01 15:19:51 +02:00
# 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)"
2020-05-07 02:27:11 +02:00
MESS="BAD CMD $2."
2020-05-01 15:19:51 +02:00
# Send response SMS
$(sms_ERROR "$1" "$MESS")
exit