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