summaryrefslogtreecommitdiff
path: root/system/pcsc-lite/rc.pcscd
diff options
context:
space:
mode:
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