Enlightenment CVS committal Author : sndev Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_desklock.c Log Message: Give fbsd users a possibility to use desklock. system-auth profile is not presented on fbsd, but login is there. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_desklock.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -3 -r1.25 -r1.26 --- e_desklock.c 23 Aug 2006 03:39:01 -0000 1.25 +++ e_desklock.c 19 Sep 2006 09:59:03 -0000 1.26 @@ -650,8 +650,12 @@ da->pam.conv.appdata_ptr = da; da->pam.handle = NULL; - /* try other pam profiles - and system-auth is a fallback */ + /* 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 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"; ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs