This commit is contained in:
2025-11-28 23:14:22 +01:00
parent 6cb3c5eeb4
commit 216e698f4e
3 changed files with 5 additions and 8 deletions

4
config
View File

@@ -3,4 +3,6 @@
# Number of clients, maximum 2
CLIENTS=1
EVENT="Chaospott"
# Event name.
# Please leave the export be.
export EVENT="Chaospott"

View File

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

View File

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