summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Arrifano <miknix@gentoo.org>2009-06-07 17:00:54 +0000
committerroot <root@miranda.amd64.dev.gentoo.org>2009-06-07 17:00:54 +0000
commita3b152f85c2ba6214c7d5dfbdc897f0a2e545762 (patch)
tree5788d2c3d5abc4f43833ea3db3aac90225930d92 /gpe-base/gpe-dm/files/Xinit
parent[gpe-base/gpe-dm] Import gpe-dm from tree for patching. (diff)
downloadgpe-a3b152f85c2ba6214c7d5dfbdc897f0a2e545762.tar.gz
gpe-a3b152f85c2ba6214c7d5dfbdc897f0a2e545762.tar.bz2
gpe-a3b152f85c2ba6214c7d5dfbdc897f0a2e545762.zip
[gpe-base/gpe-dm] Cleanup gpe-dm scripts.
Diffstat (limited to 'gpe-base/gpe-dm/files/Xinit')
-rw-r--r--gpe-base/gpe-dm/files/Xinit22
1 files changed, 9 insertions, 13 deletions
diff --git a/gpe-base/gpe-dm/files/Xinit b/gpe-base/gpe-dm/files/Xinit
index 5b8c969..6e18e02 100644
--- a/gpe-base/gpe-dm/files/Xinit
+++ b/gpe-base/gpe-dm/files/Xinit
@@ -1,16 +1,12 @@
#!/bin/sh
-# Copied from gpe xserver-common
+# /etc/X11/gpe-dm/Xinit: Launch stuff after the Xserver is up.
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# Angelo Arrifano <miknix@gentoo.org>
+# $Header: $
+# Modified 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
+# Please, make sure profile.env sets a proper PATH before filling a bug.
+. /etc/profile.env
-export PATH=$PATH:/usr/X11R6/bin
-
-SYSSESSIONDIR=/etc/X11/gpe-dm/Xinit.d
-
-exec run-parts $SYSSESSIONDIR
+exec run-parts /etc/X11/gpe-dm/Xinit.d