summaryrefslogtreecommitdiff
path: root/system/pcsc-lite/rc.pcscd
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-10-18 21:29:12 -0500
committerErik Hanson <erik@slackbuilds.org>2010-10-20 10:50:23 -0500
commit9f9119753fe68c18f8b5e2494222fe6d8f9f8934 (patch)
tree3008b4f66467999583589208ce7ed990719b834c /system/pcsc-lite/rc.pcscd
parent1a59ef2239e9a6637f0fa674df5a0f321e7422fc (diff)
downloadslackbuilds-9f9119753fe68c18f8b5e2494222fe6d8f9f8934.tar.gz
system/pcsc-lite: Updated for version 1.6.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/pcsc-lite/rc.pcscd')
-rw-r--r--system/pcsc-lite/rc.pcscd7
1 files changed, 3 insertions, 4 deletions
diff --git a/system/pcsc-lite/rc.pcscd b/system/pcsc-lite/rc.pcscd
index 613c80ae44..779ec844a7 100644
--- a/system/pcsc-lite/rc.pcscd
+++ b/system/pcsc-lite/rc.pcscd
@@ -16,7 +16,6 @@ pcscd_start() {
echo "PC/SC-lite daemon already started!"
else
echo "Starting PC/SC-lite smart card daemon..."
- /usr/sbin/update-reader.conf
/usr/sbin/pcscd $PCSCD_OPTS
fi
fi
@@ -27,10 +26,10 @@ pcscd_stop() {
echo "Stopping PC/SC-lite smart card daemon..."
if [ -e "$PIDFILE" ]; then
kill $(cat $PIDFILE)
- rm -f $PIDFILE 1>&2 >/dev/null
+ rm -f $PIDFILE 2>&1 >/dev/null
fi
# Just in case:
- killall pcscd 1>&2 >/dev/null
+ killall pcscd 2>&1 >/dev/null
}
# Restart
@@ -63,5 +62,5 @@ case "$1" in
pcscd_status
;;
*)
- echo "usage $0 start|stop|restart|status"
+ echo "usage: $0 start|stop|restart|status"
esac