[PC-BSD Commits] r21664 - in pcbsd-projects/PCDM: . rc.d

svn at pcbsd.org svn at pcbsd.org
Wed Feb 27 06:29:12 PST 2013


Author: kenmoore
Date: 2013-02-27 14:29:12 +0000 (Wed, 27 Feb 2013)
New Revision: 21664

Modified:
   pcbsd-projects/PCDM/PCDMd
   pcbsd-projects/PCDM/rc.d/pcdm
Log:
Clean up the PCDM daemon a bit more. SHould be pretty much done now except for testing the XDMCP stuff



Modified: pcbsd-projects/PCDM/PCDMd
===================================================================
--- pcbsd-projects/PCDM/PCDMd	2013-02-27 00:22:43 UTC (rev 21663)
+++ pcbsd-projects/PCDM/PCDMd	2013-02-27 14:29:12 UTC (rev 21664)
@@ -3,13 +3,10 @@
 # This listens for system login prompts and starts the main PCDM UI appropriately
 #------------------------------------
 
-pcdmd_startUI(){
-	
-}
-
 #See if XDMCP support is enabled for logging in to this system
 if [ "`cat /usr/local/share/PCDM/pcdm.conf | grep ALLOW_REMOTE_LOGIN=TRUE`" -eq "" ]; then
   # XDMCP is enabled
+  
   xinit -- /usr/local/bin/PCDM-session :0 -displayfd /usr/local/share/PCDM/.xdisplay -indirect ${HOST}
 else
   # No XDMCP support

Modified: pcbsd-projects/PCDM/rc.d/pcdm
===================================================================
--- pcbsd-projects/PCDM/rc.d/pcdm	2013-02-27 00:22:43 UTC (rev 21663)
+++ pcbsd-projects/PCDM/rc.d/pcdm	2013-02-27 14:29:12 UTC (rev 21664)
@@ -54,6 +54,7 @@
 
 pcdm_start()
 {
+  (
     if ! checkyesno pcdm_enable ; then
 	return 0
     fi
@@ -75,7 +76,8 @@
     fi
 
     #Start the PCDM login daemon
-    ${command} ${pcdm_flags} &
+    ${command} ${pcdm_flags} 
+  ) &
 
 }
 



More information about the Commits mailing list