eric.p wrote:
> if [ `ifconfig -a|grep -c tun0` -ne 0 ]; then

More ellegant is:

  if ! ifconfig -a | grep -q tun0; then



# Han

Reply via email to