[PC-BSD Commits] r12044 - pcbsd/current/src-sh/pc-runxgui

svn at pcbsd.org svn at pcbsd.org
Tue Aug 9 13:05:17 PDT 2011


Author: kris
Date: 2011-08-09 13:05:17 -0700 (Tue, 09 Aug 2011)
New Revision: 12044

Modified:
   pcbsd/current/src-sh/pc-runxgui/pc-runxgui
Log:

Fix run display gui script to reboot and start display wizard again



Modified: pcbsd/current/src-sh/pc-runxgui/pc-runxgui
===================================================================
--- pcbsd/current/src-sh/pc-runxgui/pc-runxgui	2011-08-09 19:49:58 UTC (rev 12043)
+++ pcbsd/current/src-sh/pc-runxgui/pc-runxgui	2011-08-09 20:05:17 UTC (rev 12044)
@@ -6,10 +6,6 @@
 
 echo "RUNX" > /var/.runxsetup
 
-xPid=`ps -auwwx | grep '/usr/local/bin/X' | grep -v 'grep' | tr -s ' ' | cut -d ' ' -f 2`
-kPid=`ps -auwwx | grep '/usr/local/libexec/gdm-simgle-slave' | grep -v 'grep' | tr -s ' ' | cut -d ' ' -f 2`
-kPid2=`ps -auwwx | grep 'gdm-binary' | grep -v '/usr/local' |grep -v 'grep' | tr -s ' ' | cut -d ' ' -f 2`
-
 sync
 
-kill -9 $kPid2 $kPid $xPid
+shutdown -r now



More information about the Commits mailing list