summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-04-29 20:13:06 +0200
committerStefan Ritter <xeno@thehappy.de>2011-04-29 20:13:06 +0200
commit154a15664389e2d81b5b4e98f246b404e7c13929 (patch)
tree5d218dedc72926821b37716e723180a379ddb60a
parent969b6129f53cf876cde780dc9e6bfde70bf82884 (diff)
xinitrc update
-rwxr-xr-xxorg/xinitrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/xorg/xinitrc b/xorg/xinitrc
index bad549c..3318c25 100755
--- a/xorg/xinitrc
+++ b/xorg/xinitrc
@@ -25,4 +25,8 @@ if [ -e /usr/bin/xscreensaver ]; then
xscreensaver -no-splash &
fi
-exec ssh-agent $WM
+if [ -e /usr/bin/ssh-agent ]; then
+ exec ssh-agent $WM
+else
+ exec $WM
+fi