Stops sms using data flag
This commit is contained in:
parent
14d316e081
commit
7ff2ff0521
1 changed files with 2 additions and 2 deletions
|
@ -106,8 +106,8 @@ fi
|
||||||
if [ "$dryrun" = "false" ]; then
|
if [ "$dryrun" = "false" ]; then
|
||||||
# Creates the message using the text from file
|
# Creates the message using the text from file
|
||||||
messageNumber=$(
|
messageNumber=$(
|
||||||
mmcli -m "$modem" --messaging-create-sms="number=$number" \
|
mmcli -m "$modem" --messaging-create-sms="number=$number,\
|
||||||
--messaging-create-sms-with-data="$FILE" | grep -o "[0-9]*$"
|
text='$(cat "$FILE" | sed "s/'/\\\'/g")'" | grep -o "[0-9]*$"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Send the message
|
# Send the message
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue