[PC-BSD Commits] r15565 - in pcbsd/current: src-sh/pc-firstgui system-overlay/usr/local/share/pcbsd

svn at pcbsd.org svn at pcbsd.org
Thu Feb 23 08:51:30 PST 2012


Author: kris
Date: 2012-02-23 16:51:29 +0000 (Thu, 23 Feb 2012)
New Revision: 15565

Added:
   pcbsd/current/system-overlay/usr/local/share/pcbsd/fluxboxinit/
Modified:
   pcbsd/current/src-sh/pc-firstgui/pc-firstgui
Log:

Fix the first run GUI to use the right flux config



Modified: pcbsd/current/src-sh/pc-firstgui/pc-firstgui
===================================================================
--- pcbsd/current/src-sh/pc-firstgui/pc-firstgui	2012-02-23 16:41:35 UTC (rev 15564)
+++ pcbsd/current/src-sh/pc-firstgui/pc-firstgui	2012-02-23 16:51:29 UTC (rev 15565)
@@ -12,10 +12,18 @@
   mv /root/.fluxbox /root/.fluxbox.xbak 2>/dev/null
 fi
 
+# Copy the default fluxbox init files
+cp -R /usr/local/share/pcbsd/fluxboxinit /root/.fluxbox
+
+# Make sure we use files in /root
+HOME="/root"
+export HOME
+
 # Create the .xinitrc file
 echo '# Set all our path variables
 PATH="/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/bin:/usr/local/sbin"
-export PATH
+HOME="/root"
+export PATH HOME
 
 if [ -e "/root/.xprofile" ] ; then . /root/.xprofile ; fi
 



More information about the Commits mailing list