All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] shadow: Disable email checking completely
@ 2010-06-26 16:16 Stefan Schmidt
  2010-06-28 16:13 ` Stefan Schmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Schmidt @ 2010-06-26 16:16 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.

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 460930b..d2ac65d 100644
--- a/recipes/shadow/shadow.inc
+++ b/recipes/shadow/shadow.inc
@@ -13,7 +13,7 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
 PACKAGE_ARCH_${PN} = "${MACHINE_ARCH}"
 
-INC_PR = "r14"
+INC_PR = "r15"
 
 # Additional Policy files for PAM
 PAM_SRC_URI = " \
@@ -81,6 +81,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] 2+ messages in thread

* Re: [PATCH] shadow: Disable email checking completely
  2010-06-26 16:16 [PATCH] shadow: Disable email checking completely Stefan Schmidt
@ 2010-06-28 16:13 ` Stefan Schmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Schmidt @ 2010-06-28 16:13 UTC (permalink / raw)
  To: openembedded-devel

Hello.

On Sat, 2010-06-26 at 18:16, Stefan Schmidt wrote:
> From: Stefan Schmidt <stefan@buglabs.net>
> 
> This allows faster login due to not checking for new emails.

I just pushed this one by accident while pushing another fix. Does anyone see a
problem with it? If yes I'm going to revert it.

Will tell me to work in branches even more. :)

regards
Stefan Schmidt



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

end of thread, other threads:[~2010-06-28 16:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-26 16:16 [PATCH] shadow: Disable email checking completely Stefan Schmidt
2010-06-28 16:13 ` Stefan Schmidt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.