diff options
-rwxr-xr-x | localkannel-dispatch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/localkannel-dispatch b/localkannel-dispatch index 0e69cfb..7136826 100755 --- a/localkannel-dispatch +++ b/localkannel-dispatch @@ -213,8 +213,8 @@ Send \"[gone] MSG\" to Alessandra and Vela." info2from=$(lastservicephone "$info2phone") [ -n "$info2from" ] || exit1 "refusing to redirect: unknown info phone number \"$info2phone\"." SMS_PHONE="$targetfrom" $sbindir/localmarkdown2sms "$targetphone" "/gone" - SMS_PHONE="$info1from" $sbindir/localmarkdown2sms "$info1phone" "[gone] $@" - SMS_PHONE="$info2from" $sbindir/localmarkdown2sms "$info2phone" "[gone] $@" + SMS_PHONE="$info1from" $sbindir/localsendsms "$info1phone" "[gone] $@" + SMS_PHONE="$info2from" $sbindir/localsendsms "$info2phone" "[gone] $@" exit 0 ;; gonetest) @@ -241,9 +241,9 @@ Report MSG to Jonas, Jacob and Vera." info3from=$(lastservicephone "$info3phone") [ -n "$info3from" ] || exit1 "refusing to redirect: unknown info phone number \"$info3phone\"." SMS_PHONE="$targetfrom" $sbindir/localmarkdown2sms "$targetphone" "/gone" - SMS_PHONE="$info1from" $sbindir/localmarkdown2sms "$info1phone" "[gone] $@" - SMS_PHONE="$info2from" $sbindir/localmarkdown2sms "$info2phone" "[gone] $@" - SMS_PHONE="$info3from" $sbindir/localmarkdown2sms "$info3phone" "[gone] $@" + SMS_PHONE="$info1from" $sbindir/localsendsms "$info1phone" "[gone] $@" + SMS_PHONE="$info2from" $sbindir/localsendsms "$info2phone" "[gone] $@" + SMS_PHONE="$info3from" $sbindir/localsendsms "$info3phone" "[gone] $@" exit 0 ;; esac |