summaryrefslogtreecommitdiff
path: root/pcr/elogind/elogind.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/elogind/elogind.install')
-rw-r--r--pcr/elogind/elogind.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/pcr/elogind/elogind.install b/pcr/elogind/elogind.install
index 9a271f840..004f98a2b 100644
--- a/pcr/elogind/elogind.install
+++ b/pcr/elogind/elogind.install
@@ -1,5 +1,9 @@
post_install() {
sed -e 's|pam_systemd.so|pam_elogind.so|' -i etc/pam.d/system-login
+
+ if grep pam_ck_connector.so etc/pam.d/system-login >/dev/null;then
+ sed -e 's|pam_ck_connector.so nox11|pam_elogind.so|' -i etc/pam.d/system-login
+ fi
}
post_remove(){