diff options
author | eadler <eadler@FreeBSD.org> | 2012-03-18 00:51:13 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-03-18 00:51:13 +0800 |
commit | 430989b396be051d1f4f198c71e3d121fb3bee2f (patch) | |
tree | 19052d5aec375014b585fde550bd5fc76ac55c0d /x11-wm/spectrwm | |
parent | af400b0cf70c9a92355ae67bc5601759d30eb6b5 (diff) | |
download | freebsd-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
Diffstat (limited to 'x11-wm/spectrwm')
-rw-r--r-- | x11-wm/spectrwm/files/startscrotwm | 10 |
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 |