>> +     if [ x"$user" = x"" ]; then
>> +             startx=`pgrep startx`
>
> Minor nit: if it's possible to have multiple "startx" instances running
> (is there anything that prevents this?), I think this should be either
> "pgrep -o startx" or "pgrep -n startx" (oldest or newest).

Nothing to prevent it:

> startx &
...
> startx -- :1 &
...
> startx -- :11 &
...

I love linux :)  If only you could do that on legacy operating systems
like Solaris.

-- 
TimC
Radioactive cats have 18 half-lives.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to