aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2012-03-18 00:51:13 +0800
committereadler <eadler@FreeBSD.org>2012-03-18 00:51:13 +0800
commit430989b396be051d1f4f198c71e3d121fb3bee2f (patch)
tree19052d5aec375014b585fde550bd5fc76ac55c0d
parentaf400b0cf70c9a92355ae67bc5601759d30eb6b5 (diff)
downloadfreebsd-ports-gnome-430989b396be051d1f4f198c71e3d121fb3bee2f.tar.gz
freebsd-ports-gnome-430989b396be051d1f4f198c71e3d121fb3bee2f.tar.zst
freebsd-ports-gnome-430989b396be051d1f4f198c71e3d121fb3bee2f.zip
Restore start script - it got lost in the rename
Submitted by: ak Approved by: maintainer (implicit) Feature safe: yes
-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