Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 2250 → Rev 2249

/scripts/alcasar-sms.sh
1,5 → 1,4
#!/bin/bash
# $Id$
 
# alcasar-sms.sh
# by Nicolas Aubry & Rexy
342,9 → 341,9
echo "gammu is already started"
else
start_gammu
sed -i "s/\$service_SMS_status = false;/\$service_SMS_status = true;/g" $index_page
sed -i "s/\$service_SMS_status = false;/\$service_SMS_status = true;/g" $public_page
sed -i "s/\$service_SMS_status = false;/\$service_SMS_status = true;/g" $intercept_page
sed -i "s/\$service_SMS_status=\"false\";/\$service_SMS_status=\"true\";/g" $index_page
sed -i "s/\$service_SMS_status=false;/\$service_SMS_status=true;/g" $public_page
sed -i "s/\$service_SMS_status=false;/\$service_SMS_status=true;/g" $intercept_page
fi
exit 0
;;
353,9 → 352,9
if [ $gammu_pid != "0" ]
then
stop_gammu
sed -i "s/\$service_SMS_status = true;/\$service_SMS_status = false;/g" $index_page
sed -i "s/\$service_SMS_status = true;/\$service_SMS_status = false;/g" $public_page
sed -i "s/\$service_SMS_status = true;/\$service_SMS_status = false;/g" $intercept_page
sed -i "s/\$service_SMS_status=\"true\";/\$service_SMS_status=\"false\";/g" $index_page
sed -i "s/\$service_SMS_status=true;/\$service_SMS_status=false;/g" $public_page
sed -i "s/\$service_SMS_status=true;/\$service_SMS_status=false;/g" $intercept_page
else
echo "gammu is already stopped"
fi
Property changes:
Deleted: svn:keywords
-Id
\ No newline at end of property