#!/bin/sh
netstat -i | grep tun0 >& /dev/null || exit 1 exit 0
syntax highlighted by
Code2HTML
, v. 0.9.1