diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/smartauth/smartauthmon.sh.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/smartauth/smartauthmon.sh.in b/etc/smartauth/smartauthmon.sh.in index f1d9e71..ebf360a 100644 --- a/etc/smartauth/smartauthmon.sh.in +++ b/etc/smartauth/smartauthmon.sh.in @@ -136,7 +136,7 @@ while [[ 1 == 1 ]]; do OUTPUT=$? if [[ $OUTPUT -eq 0 ]]; then echo "Card inserted!" - echo "TAuthenticating SmartCard..." > /tmp/ksocket-global/kdesktoplockcontrol & + echo "TAuthenticating SmartCard..." > /tmp/tdesocket-global/kdesktoplockcontrol & # Get card ATR echo "RESET" > $SECURE_DIRECTORY/query @@ -252,7 +252,7 @@ while [[ 1 == 1 ]]; do fi else echo "This card does not recognize this system!" - echo "EInvalid SmartCard Inserted" > /tmp/ksocket-global/kdesktoplockcontrol & + echo "EInvalid SmartCard Inserted" > /tmp/tdesocket-global/kdesktoplockcontrol & sleep 1 smartcard_username="" rm -f $SECURE_DIRECTORY/password @@ -362,7 +362,7 @@ while [[ 1 == 1 ]]; do su $smartcard_username -c "export DISPLAY=$udisplay; /opt/trinity/bin/dcop kdesktop KScreensaverIface enable false" /opt/trinity/bin/tdmctl activate $udisplay else - echo "EUnauthorized SmartCard Inserted" > /tmp/ksocket-global/kdesktoplockcontrol & + echo "EUnauthorized SmartCard Inserted" > /tmp/tdesocket-global/kdesktoplockcontrol & fi else echo "Username not specified" @@ -444,7 +444,7 @@ while [[ 1 == 1 ]]; do #if [[ loginok -eq 1 ]]; then # Wait for SmartCard removal - echo "C" > /tmp/ksocket-global/kdesktoplockcontrol & + echo "C" > /tmp/tdesocket-global/kdesktoplockcontrol & TIMER=60 OUTPUT=0 @@ -578,6 +578,6 @@ while [[ 1 == 1 ]]; do smartcard_username="" rm -rf /etc/smartmon/minutesremaining - echo "C" > /tmp/ksocket-global/kdesktoplockcontrol & + echo "C" > /tmp/tdesocket-global/kdesktoplockcontrol & fi done |