From 3d21884475fd102e21d679cebbb119e33fb01479 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 23 Nov 2010 08:37:53 +0100 Subject: Fix swap from and system phone numbers. --- sms.d/phone | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sms.d/phone') diff --git a/sms.d/phone b/sms.d/phone index 86c1eba..69e8ad5 100755 --- a/sms.d/phone +++ b/sms.d/phone @@ -4,8 +4,8 @@ set -e # Variables from Kannel sms gateway -sms_from="$SMS_PHONE" -sms_to="$1" +sms_phone="$SMS_PHONE" +sms_fromphone="$1" app="$2" shift 2 msg="$*" @@ -18,8 +18,8 @@ export sender="$from" # Check keyword and break after processing if it matches case "$app" in phone) - cat <