Forráskód Böngészése

changing to /home/bus from /home/pi

Abram Connelly 5 éve
szülő
commit
947ba567e7

+ 4 - 2
busunit-PIU/scripts/magstripe_manager

@@ -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
 

+ 1 - 1
busunit-PIU/scripts/qr_manager

@@ -18,7 +18,7 @@
 # along with PopuFare.  If not, see <https://www.gnu.org/licenses/>.
 #
 
-BASEDIR=/home/pi
+BASEDIR=/home/bus
 d=$BASEDIR/bin
 
 # setup /dev/video1

+ 1 - 1
busunit-PIU/scripts/rfid_manager

@@ -23,7 +23,7 @@
 # an rfid token has been detected
 #
 
-BASEDIR=/home/pi
+BASEDIR=/home/bus
 d=$BASEDIR/bin
 
 stdbuf -eL -oL $d/proxmark3 /dev/ttyACM0 -l proxmark3-lf-hid-read.lua | \