diff options
Diffstat (limited to 'usr/bin/setupslavecard.sh')
-rwxr-xr-x | usr/bin/setupslavecard.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/bin/setupslavecard.sh b/usr/bin/setupslavecard.sh index cdf3adf..9e54890 100755 --- a/usr/bin/setupslavecard.sh +++ b/usr/bin/setupslavecard.sh @@ -469,10 +469,10 @@ while [[ 1 -eq 1 ]]; do echo "Securing directories..." chmod 600 "/boot/initrd.img-$(uname -r)" chmod -R 600 /etc/smartauth - if [ -e "/usr/bin/smartauthmon.sh" ]; then - selection="Enable automatic login for KDE3.5" + if [ -e "/etc/smartauth/smartauthmon.key" ]; then + selection="Enable automatic login for TDE" else - echo "KDE3.5 login disabled; not altering" + echo "TDE login disabled; not altering" fi else zenity --error --text "A SmartCard authentication error has occurred." @@ -494,7 +494,6 @@ while [[ 1 -eq 1 ]]; do chmod -R 600 /etc/smartauth chown -R root /etc/smartauth chmod a+x /usr/bin/smartauth.sh - chmod a+x /usr/bin/smartauthmon.sh chmod 600 "/boot/initrd.img-$(uname -r)" chown root "/boot/initrd.img-$(uname -r)" exit |