chore: use common prefix for dconf/db/gdm.d files

This commit is contained in:
Michel Decima
2021-11-02 18:03:22 +01:00
parent 868a8c8a4d
commit 25db8873f7
5 changed files with 7 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ if [ -e /etc/pam.d/gdm-smartcard-sssd-or-password ] ; then
fi
sed -Ei 's/(enable-smartcard-authentication)=.*/\1=false/' \
/etc/dconf/db/gdm.d/03-smartcard
/etc/dconf/db/gdm.d/01-smartcard
dconf update
systemctl enable sssd.service sssd-pam.socket

View File

@@ -11,7 +11,7 @@ update-alternatives --set gdm-smartcard \
|| { echo >&2 "Cannot switch to PKI login (GDM too old?)" ; exit 1 ; }
sed -Ei 's/(enable-smartcard-authentication)=.*/\1=true/' \
/etc/dconf/db/gdm.d/03-smartcard
/etc/dconf/db/gdm.d/01-smartcard
dconf update
cat << EOF