aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-03-17 16:51:13 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-03-17 16:51:13 +0000
commit9279889f5abe27f5c34e116569445c51cea626ab (patch)
treeb43598b98e31d6c26183343aac1a3b40d94df4f1 /x11-wm
parentbf13f1da1557870c3a06320ee4439481dc94effb (diff)
downloadports-9279889f5abe27f5c34e116569445c51cea626ab.tar.gz
ports-9279889f5abe27f5c34e116569445c51cea626ab.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/spectrwm/files/startscrotwm10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/files/startscrotwm b/x11-wm/spectrwm/files/startscrotwm
index e69de29bb2d1..34721b34da5b 100644
--- a/x11-wm/spectrwm/files/startscrotwm
+++ b/x11-wm/spectrwm/files/startscrotwm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ -z "${DISPLAY}" ]
+then
+ echo "$0: Starting X server"
+ exec xinit $( which scrotwm )
+else
+ echo "$0: X server already running on display ${DISPLAY}"
+ $( which scrotwm )
+fi