[PC-BSD Commits] r5979 - pcbsd/trunk/XGUISource/resources/bin

svn at pcbsd.org svn at pcbsd.org
Tue Jan 12 09:28:59 PST 2010


Author: kris
Date: 2010-01-12 09:28:59 -0800 (Tue, 12 Jan 2010)
New Revision: 5979

Modified:
   pcbsd/trunk/XGUISource/resources/bin/rundetect.sh
Log:

Updated rundetect, needs to source .xprofile if it exists for lang setup



Modified: pcbsd/trunk/XGUISource/resources/bin/rundetect.sh
===================================================================
--- pcbsd/trunk/XGUISource/resources/bin/rundetect.sh	2010-01-12 16:31:32 UTC (rev 5978)
+++ pcbsd/trunk/XGUISource/resources/bin/rundetect.sh	2010-01-12 17:28:59 UTC (rev 5979)
@@ -125,6 +125,11 @@
 PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin:/usr/local/kde4/bin"
 export PATH
 
+if [ -e "/root/.xprofile" ]
+then
+. /root/.xprofile
+fi
+
 touch /usr/PCBSD/xorg-gui/.xstartupsuccess
 /usr/local/bin/fluxbox &
 PID=$!
@@ -147,6 +152,11 @@
 PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin:/usr/local/kde4/bin"
 export PATH
 
+if [ -e "/root/.xprofile" ]
+then
+. /root/.xprofile
+fi
+
 touch /usr/PCBSD/xorg-gui/.xstartupsuccess
 /usr/local/bin/fluxbox &
 PID=$!
@@ -186,6 +196,12 @@
 
     ##### Create the xinitrc file
     echo '#!/bin/sh
+
+if [ -e "/root/.xprofile" ]
+then
+. /root/.xprofile
+fi
+
 /usr/local/bin/fluxbox &
 PID=$!
 /usr/PCBSD/xorg-gui/bin/XGUI -test



More information about the Commits mailing list