Bugfix
This commit is contained in:
4
config
4
config
@@ -3,4 +3,6 @@
|
||||
# Number of clients, maximum 2
|
||||
CLIENTS=1
|
||||
|
||||
EVENT="Chaospott"
|
||||
# Event name.
|
||||
# Please leave the export be.
|
||||
export EVENT="Chaospott"
|
||||
|
||||
@@ -2,12 +2,6 @@
|
||||
|
||||
function init() {
|
||||
|
||||
if [ -n "$PRINTDEVICE" ]; then
|
||||
export DEVICE="$PRINTDEVICE"
|
||||
else
|
||||
export DEVICE=/dev/ttyUSB2
|
||||
fi
|
||||
|
||||
stty -F $DEVICE 1:0:80000dbd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0
|
||||
|
||||
# \x1b\x47 - Double Strike
|
||||
|
||||
@@ -4,9 +4,10 @@ export TERM=vt220
|
||||
|
||||
export DIALOGRC=dialogrc
|
||||
|
||||
source ./config
|
||||
source $(dirname $0)/config
|
||||
|
||||
export PRINTDEVICE="/dev/ttyUSB$CLIENTS"
|
||||
export DEVICE="$PRINTDEVICE"
|
||||
|
||||
LOCKFILE=/tmp/c3govlock
|
||||
TMP=/tmp/$RANDOM
|
||||
|
||||
Reference in New Issue
Block a user