shadow: Disable email checking completely
PATCH 1/1 shadow: Disable email checking completely
From: Stefan Schmidt <[email protected]>
This allows faster login due to not checking for new emails.
Signed-off-by Stefan Schmidt <[email protected]>
--- recipes/shadow/shadow.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
recipes/shadow/shadow.inc +4 -1
@@ -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}
Signature · 1 line
1.7.1
Hello.
Quoted 3 lines · Stefan Schmidt
From: Stefan Schmidt <[email protected]>
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