Server - Fix MIFARE auth
[tpg/opendispense2.git] / RunServerTest
1 #!/bin/sh
2
3 ARGS="--itemsfile items.cfg -p 11020"
4 ARGS=$ARGS" --cokeport /dev/ttyUSB0"
5 ARGS=$ARGS" -d 2"
6
7 if [ "x$2" != "x" ]; then
8         _cokebank=$1
9 else
10         _cokebank="sqlite"
11 fi
12
13 rm cokebank.so
14 rm cokebank.db
15
16 ln -s cokebank_$_cokebank.so cokebank.so
17 ln -s cokebank_$_cokebank.db cokebank.db
18
19 if [ "x$1" = "xdbg" ]; then 
20         LD_LIBRARY_PATH=. gdb --args ./dispsrv $ARGS
21 else
22         LD_LIBRARY_PATH=. ./dispsrv $ARGS
23 fi

UCC git Repository :: git.ucc.asn.au