mirror of
https://github.com/samuelncui/yatm.git
synced 2026-01-09 14:43:25 +00:00
feat: rebrand to yatm
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
set -ex;
|
||||
|
||||
# SG_DEVICE=`sg_map | grep ${DEVICE} | awk '{print $1}'`
|
||||
BARCODE=`./lto-info -f /dev/nst0 | grep 'Barcode' | awk '{print $3}'`
|
||||
BARCODE=`./yatm-lto-info -f /dev/nst0 | grep 'Barcode' | awk '{print $3}'`
|
||||
echo "{\"barcode\": \"$BARCODE\"}" > $OUT
|
||||
sleep 3
|
||||
|
||||
Reference in New Issue
Block a user