[PC-BSD Commits] r17387 - pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup

svn at pcbsd.org svn at pcbsd.org
Sat Jun 23 09:37:20 PDT 2012


Author: kris
Date: 2012-06-23 16:37:18 +0000 (Sat, 23 Jun 2012)
New Revision: 17387

Modified:
   pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkupdater.sh
   pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkwelcome.sh
   pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/life-preserver.sh
Log:

Delay some desktop services a bit, give time for other things to finish



Modified: pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkupdater.sh
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkupdater.sh	2012-06-23 15:50:02 UTC (rev 17386)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkupdater.sh	2012-06-23 16:37:18 UTC (rev 17387)
@@ -2,8 +2,7 @@
 
 # Check if we need to start the system updater service
 test="`pbreg get /PC-BSD/SystemUpdater/runAtStartup`"
-if [ "$test" = "true" ]
-then
-  /usr/local/bin/pc-systemupdatertray &
+if [ "$test" = "true" ]; then
+  (sleep 30; /usr/local/bin/pc-systemupdatertray)&
 fi
 

Modified: pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkwelcome.sh
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkwelcome.sh	2012-06-23 15:50:02 UTC (rev 17386)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/checkwelcome.sh	2012-06-23 16:37:18 UTC (rev 17387)
@@ -4,5 +4,5 @@
 if [ "`id -u`" = "0" ] ; then return ; fi
 
 if [ ! -f "${HOME}/.config/hide-welcome" ] ; then
-  (sleep 30 ; pc-welcome ) &
+  (sleep 35 ; pc-welcome ) &
 fi

Modified: pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/life-preserver.sh
===================================================================
--- pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/life-preserver.sh	2012-06-23 15:50:02 UTC (rev 17386)
+++ pcbsd/current/overlays/desktop-overlay/usr/local/share/pcbsd/xstartup/life-preserver.sh	2012-06-23 16:37:18 UTC (rev 17387)
@@ -3,4 +3,4 @@
 
 if [ "`id -u`" = "0" ] ; then return ; fi
 
-(sleep 10 ; sudo life-preserver -tray -autostart) &
+(sleep 30 ; sudo life-preserver -tray -autostart) &



More information about the Commits mailing list