to shell (and X window System) wizards.
- From: Gary Kline <kline@xxxxxxxxxxx>
- Date: Wed, 2 Jul 2008 19:13:50 -0700
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@xxxxxxxxxxx www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: to shell (and X window System) wizards.
- From: Daniel Bye
- Re: to shell (and X window System) wizards.
- Prev by Date: Re: OT: anyone been crazy enough to mirror wikipedia?
- Next by Date: Re: SAMBA 3.0.28a and CVE-2008-1105
- Previous by thread: "New" user with a possible ZFS problem
- Next by thread: Re: to shell (and X window System) wizards.
- Index(es):
Relevant Pages
|