chore: use common prefix for dconf/db/gdm.d files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user