#!/bin/sh cat <<_STR Content-type: text/html Online Status _STR if [ -n "`pidof pppd`" ]; then echo "Connected or trying to connect." else echo "No connection." fi cat <<_STR

Connect .. Disconnect _STR