How to detect vpnc disconnection ?
Hi, What is the easiest way to detect that a vpnc connection on Linux/Ubuntu has disconnected ? Manually, I think the way to detect is to check whether the interface (tun0) appears in /sbin/ifconfig output. Is there a better way to find out immediately, so that a script can be run to restart the connection ? ...