summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-05-07 21:24:27 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-05-07 21:24:27 +0200
commit61851423f034b1060bbe77c6c0af0c6401f78308 (patch)
tree47652cd63978e201627a0521263b8c9b3b60dcaf /etc
parentcc9e2d7c3bbd90df9a3b87fe7c445517d03102ff (diff)
profile-nemesis: Don't start X if logged in from ssh
Diffstat (limited to 'etc')
-rw-r--r--etc/hosts/profile-nemesis2
1 files changed, 1 insertions, 1 deletions
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