Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [PATCH][STABLE 1/3] shadow: Disable email checking completely
@ 2010-07-06 20:17 Stefan Schmidt
  2010-07-06 20:17 ` [PATCH][STABLE 2/3] u-boot_git: Add bug20 support Stefan Schmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefan Schmidt @ 2010-07-06 20:17 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Stefan Schmidt

From: Stefan Schmidt <stefan@buglabs.net>

This allows faster login due to not checking for new emails. Adjust PR to 14 as
stable is behind .dev here.

Signed-off-by: Stefan Schmidt <stefan@buglabs.net>
---
 recipes/shadow/shadow.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/shadow/shadow.inc b/recipes/shadow/shadow.inc
index 30bd92f..55487df 100644
--- a/recipes/shadow/shadow.inc
+++ b/recipes/shadow/shadow.inc
@@ -11,7 +11,7 @@ LICENSE = "BSD"
 SECTION = "base"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
-INC_PR = "r13"
+INC_PR = "r14"
 
 # Additional Policy files for PAM
 PAM_SRC_URI = " \
@@ -79,6 +79,9 @@ do_install_append() {
   sed -i 's/MAIL_DIR/#MAIL_DIR/g' ${D}${sysconfdir}/login.defs
   sed -i 's/#MAIL_FILE/MAIL_FILE/g' ${D}${sysconfdir}/login.defs
 
+  # disable checking emails at all
+  sed -i 's/MAIL_CHECK_ENAB/#MAIL_CHECK_ENAB/g' ${D}${sysconfdir}/login.defs
+
   install -d ${D}${sbindir} ${D}${base_sbindir} ${D}${base_bindir} 
   for i in passwd chfn newgrp chsh ; do
     mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN}
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-20  3:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-06 20:17 [PATCH][STABLE 1/3] shadow: Disable email checking completely Stefan Schmidt
2010-07-06 20:17 ` [PATCH][STABLE 2/3] u-boot_git: Add bug20 support Stefan Schmidt
2010-07-06 20:17 ` [PATCH][STABLE 3/3] alsa-state: Add state file for bug20 Stefan Schmidt
2010-07-06 20:44 ` [PATCH][STABLE 1/3] shadow: Disable email checking completely Tom Rini
2010-07-13 18:48   ` Stefan Schmidt
2010-07-20  3:10     ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox