would this works, say in .zlogin, to say that X is up:
if [ -e /tmp/.X11-unix/X0 ]
then
echo "X is up."
exit 0;
else
echo "No X yet"
exit 1;
fi
or is there something more clever?
--
Gary Kline kline at thought.org www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org