Enlightenment CVS committal

Author  : mekius
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_desklock.c 


Log Message:
Add some more fallbacks that seem to work on other OS.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_desklock.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- e_desklock.c        7 Jul 2008 21:28:22 -0000       1.46
+++ e_desklock.c        7 Aug 2008 12:04:44 -0000       1.47
@@ -759,6 +759,12 @@
      pam_prof = "system-auth";
    else if (ecore_file_exists("/etc/pam.d/system")) 
      pam_prof = "system";
+   else if (ecore_file_exists("/etc/pam.d/xdm"))
+     pam_prof = "xdm";
+   else if (ecore_file_exists("/etc/pam.d/gdm"))
+     pam_prof = "gdm";
+   else if (ecore_file_exists("/etc/pam.d/kdm"))
+     pam_prof = "kdm";
    
    if ((pamerr = pam_start(pam_prof, da->user, &(da->pam.conv),
                           &(da->pam.handle))) != PAM_SUCCESS)



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to