Try this block as your script:
Code:
#!/bin/sh
if [-e /etc/network/ifstate ]
then konsole -e telnet
else exit
exit
fi
That should be all it should take. Upon perusing the other scripts with this type of block, it seems that you must end an if statement with fi. Note I inserted two exits, one to catch if the eth0 connection isn't up, and the other to terminate the script once the telnet session is done. This way you wouldn't have to create two scripts when one like this would kill two birds with one stone.

HTH,

Durand