Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 2249 → Rev 2250

/scripts/alcasar-sms.sh
1,4 → 1,5
#!/bin/bash
# $Id$
 
# alcasar-sms.sh
# by Nicolas Aubry & Rexy
341,9 → 342,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
;;
352,9 → 353,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:
Added: svn:keywords
+Id
\ No newline at end of property