1#!/bin/sh 2 3# if mozilla is not found, specify full path here 4MOZILLA=mozilla 5 6if ${MOZILLA} -remote "openURL($1,new-window)" 2>&1 | egrep -si "not running on display"; then 7 ${MOZILLA} $1 8fi 9