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