Re: to shell (and X window System) wizards.

2008-07-03 Thread Gary Kline
On Thu, Jul 03, 2008 at 04:36:20PM +0100, Daniel Bye wrote: > On Wed, Jul 02, 2008 at 07:13:50PM -0700, Gary Kline wrote: > > > > 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

Re: to shell (and X window System) wizards.

2008-07-03 Thread Daniel Bye
On Wed, Jul 02, 2008 at 07:13:50PM -0700, Gary Kline wrote: > > 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" > exi

to shell (and X window System) wizards.

2008-07-02 Thread Gary Kline
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? --