On Sun, 8 Aug 2010 11:14:12 -0500, Antonio Olivares <olivares14...@gmail.com> 
wrote:
> It does not work.  When I try to login I see:
> 
> -bash:  [ !:  command not found
> 
> I switch it to if statement suggested before for .login, but it
> returns same error.

Very strange; I've checked that in bash's dialog mode, and it
seems to work properly. If it really doesn't work, you can use
the test program instead of [.

        if test ! -f /tmp/.X0-lock; then
                /usr/local/bin/startx
        fi

I've checked this in bash's dialog mode, it works.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to