to shell (and X window System) wizards.

Gary Kline kline at thought.org
Thu Jul 3 02:13:54 UTC 2008


	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




More information about the freebsd-questions mailing list