Comment 3 for bug 109969

Revision history for this message
Vincenzo Consales (aquarius987) wrote :

Ok.now works...there was an error in line 8 too, the same type of the error in line 5 but i correct it.
Maybe was my fault, but now i remember that is a script found on a guide on internet (i don't remember exactly where, there are some webpages related to S95dial).

The correct version of the file now it is:

#!/bin/bash
modprobe ppp_generic
modprobe pppoatm
count=0
while [[ $((count++)) -lt 40 ]]
do
sync=$(dmesg|grep 'ADSL line is up')
if [ ! -z "$sync" ]
then
pppd call speedtch
exit 0
fi
sleep 1
done
echo "Firmware non caricato"