|
|
@@ -23,7 +23,9 @@
|
|
|
# a mag token has been swiped.
|
|
|
#
|
|
|
|
|
|
-stdbuf -eL -oL /home/pi/bin/capture-mag-hid | \
|
|
|
- xargs -n1 -I{} bash -c " /home/pi/bin/format_debug_msg.py TOKEN_MAG '{}' | /home/pi/bin/debug_client -s " | \
|
|
|
+BASEDIR=/home/bus
|
|
|
+
|
|
|
+stdbuf -eL -oL $BASEDIR/bin/capture-mag-hid | \
|
|
|
+ xargs -n1 -I{} bash -c " $BASEDIR/bin/format_debug_msg.py TOKEN_MAG '{}' | $BASEDIR/bin/debug_client -s " | \
|
|
|
tee -a /tmp/mag.log
|
|
|
|