summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-06-07 16:58:55 +0000
committerroot <root@miranda.amd64.dev.gentoo.org>2009-06-07 16:58:55 +0000
commit076ef7b44cac24bce7c235f287e2acbc3adbc997 (patch)
treee26cff1c0a38afc41b3e54feadb7923e70947f2a /gpe-base/gpe-dm/files/Xinit
parent[gpe-base/gpe-dm] Moved into the tree. (diff)
downloadgpe-076ef7b44cac24bce7c235f287e2acbc3adbc997.tar.gz
gpe-076ef7b44cac24bce7c235f287e2acbc3adbc997.tar.bz2
gpe-076ef7b44cac24bce7c235f287e2acbc3adbc997.zip
[gpe-base/gpe-dm] Import gpe-dm from tree for patching.
Diffstat (limited to 'gpe-base/gpe-dm/files/Xinit')
-rw-r--r--gpe-base/gpe-dm/files/Xinit16
1 files changed, 16 insertions, 0 deletions
diff --git a/gpe-base/gpe-dm/files/Xinit b/gpe-base/gpe-dm/files/Xinit
new file mode 100644
index 0000000..5b8c969
--- /dev/null
+++ b/gpe-base/gpe-dm/files/Xinit
@@ -0,0 +1,16 @@
+#!/bin/sh
+# Copied from gpe xserver-common
+
+export USER=root
+export HOME=/home/root
+if [ ! -d $HOME ] && [ -d /root ]; then
+ HOME=/root
+fi
+export XAPPLRESDIR=/usr/X11R6/lib/app-defaults
+export XFILESEARCHPATH=./%N%S%C.ad:/usr/X11R6/lib/X11/%L/%T/%N%S%C:/usr/X11R6/lib/X11/%l/%T/%N%S%C:/usr/X11R6/lib/X11/%T/%N%S%C:./%N%S.ad:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S:/usr/local/lib/X11/app-defaults/%N%S%C.ad
+
+export PATH=$PATH:/usr/X11R6/bin
+
+SYSSESSIONDIR=/etc/X11/gpe-dm/Xinit.d
+
+exec run-parts $SYSSESSIONDIR