:
pids=`ps -e|egrep "xpd|setmode"|sed 's/^ *\([0-9]*\) .*/\1/'`
if test -n "$pids"
	then kill -9 $pids
fi

