diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-30 12:03:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-30 12:03:16 -0600 |
commit | 08dd81707cbc9e2b4f1afb74a82321939a92d333 (patch) | |
tree | 50f735d40d03b17269297f34c8bc6847574620bb /etc/smartauth | |
parent | 264c6117223b7c68d342ab881d1c718dd008a79f (diff) | |
download | smartcardauth-08dd81707cbc9e2b4f1afb74a82321939a92d333.tar.gz smartcardauth-08dd81707cbc9e2b4f1afb74a82321939a92d333.zip |
Rename ksocket and kcache
Diffstat (limited to 'etc/smartauth')
-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 |