My tunnel kept breaking, so I wrote a Bash script to test it every 5 minutes via cron, and kill the tunnel process. It's the first script where I've made use of Process Substitution in Bash to avoid using temp files or named pipes for input.
last updated 2010-08-20 16:02:54. served from tektonic.jcomeau.com