astroport/g1sms/sms_ERROR.sh

17 lines
448 B
Bash
Executable File

#!/bin/bash
################################################################################
# Author: Fred (support@qo-op.com)
# Version: 1.0
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
################################################################################
source ./init.sh
source ./functions.sh
log "X sms_ERROR.sh ($1=phone, $2=message)"
MESS="BAD CMD $2."
# Send response SMS
$(sms_ERROR "$1" "$MESS")
exit