[PC-BSD Commits] r269 - pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin

svn at pcbsd.org svn at pcbsd.org
Sat Jun 2 08:45:15 PDT 2007


Author: kris
Date: 2007-06-02 16:45:15 +0100 (Sat, 02 Jun 2007)
New Revision: 269

Modified:
   pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh
Log:

Speed up the xdetection scripts



Modified: pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh
===================================================================
--- pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh	2007-06-02 15:41:45 UTC (rev 268)
+++ pcbsd/trunk/system-overlay/PCBSD/xorg-gui/bin/rundetect.sh	2007-06-02 15:45:15 UTC (rev 269)
@@ -5,7 +5,6 @@
 HOME="/root" ; export HOME
 
 echo "Please wait... Start X-Configuration Utility"
-sleep 1
 
 # Check if we need to save an existing .xinitrc file
 if [ -e "/root/.xinitrc" ]
@@ -132,12 +131,10 @@
 
 fi
 
-sleep 1
 
 # Start the X gui
 /usr/local/bin/startx
 
-sleep 1
 
 # The user canceled the dialog, and chose to use the default
 if [ -e "/PCBSD/xorg-gui/.canceled" ]
@@ -169,8 +166,6 @@
 
 /usr/local/bin/startx
 
-sleep 1
-
 fi
 
 if [ -e "/PCBSD/xorg-gui/.selected" ]
@@ -186,6 +181,7 @@
 # Copy over the right ttys file now
 cp /PCBSD/xorg-gui/conf/ttys.normal /etc/ttys
 
+rm /root/.xinitrc
 # Check if we need to save an existing .xinitrc file
 if [ -e "/root/.xinitrc.xbak" ]
 then



More information about the Commits mailing list