Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
e_desklock.c
Log Message:
do this without a #ifdef
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_desklock.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_desklock.c 19 Sep 2006 09:59:03 -0000 1.26
+++ e_desklock.c 19 Sep 2006 12:26:31 -0000 1.27
@@ -651,14 +651,11 @@
da->pam.handle = NULL;
/* try other pam profiles - and system-auth (login for fbsd users) is a
fallback */
-#ifdef __FreeBSD__
- pam_prof = "login"
-#else
- pam_prof = "system-auth";
-#endif
+ pam_prof = "login";
if (ecore_file_exists("/etc/pam.d/enlightenment")) pam_prof =
"enlightenment";
if (ecore_file_exists("/etc/pam.d/xscreensaver")) pam_prof = "xscreensaver";
if (ecore_file_exists("/etc/pam.d/kscreensaver")) pam_prof = "kscreensaver";
+ if (ecore_file_exists("/etc/pam.d/system-auth")) pam_prof = "system-auth";
if ((pamerr = pam_start(pam_prof, da->user, &(da->pam.conv),
&(da->pam.handle))) != PAM_SUCCESS)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs