export into config

This commit is contained in:
2025-11-28 22:37:29 +01:00
parent 6efac21a22
commit 6cb3c5eeb4
3 changed files with 19 additions and 3 deletions

View File

@@ -1,6 +1,13 @@
#!/bin/bash
DEVICE=/dev/ttyUSB2
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