From 61851423f034b1060bbe77c6c0af0c6401f78308 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 7 May 2009 21:24:27 +0200 Subject: profile-nemesis: Don't start X if logged in from ssh --- etc/hosts/profile-nemesis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/hosts') diff --git a/etc/hosts/profile-nemesis b/etc/hosts/profile-nemesis index 2b06433..e03c32a 100644 --- a/etc/hosts/profile-nemesis +++ b/etc/hosts/profile-nemesis @@ -1,5 +1,5 @@ ## vim:ft=zsh -if [[ ! -e /tmp/.afterboot ]] { +if [[ -z $SSH_CONNECTION && ! -e /tmp/.afterboot ]] { touch /tmp/.afterboot unsetopt bg_nice startx &! exit -- cgit v1.2.3