just a logo :)

search:



imprint







Wait for a PPP connection
Entry Nr. 302, by user 1
// ...

// pon ...

check_connection()
{
for x in `ifconfig ppp0`
do
if [ $x = "RUNNING" ];
then
echo "ppp connection detected";
connected=1
continue
fi
done
}

connected=0
while [ $connected = 0 ]
do
echo "waiting for a ppp connection..."
check_connection;
done

// ...