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  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
        http://jottings.thought.org   http://transfinite.thought.org


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to