This commit is contained in:
2024-08-13 16:46:44 -04:00
commit 8cb37c6011
418 changed files with 69567 additions and 0 deletions

10
backend/rftag Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
echo | lscpu | grep "rchitecture"
if lscpu | grep -q "arm";
then
docker-compose -f docker-compose-ARM.yaml exec mqtt /usr/bin/mosquitto_pub -h localhost -t tag -m "e2 80 11 71 00 00 02 0d 5c 33 9a 76 6e 4c"
else
docker-compose exec mqtt /usr/bin/mosquitto_pub -h localhost -t tag -m "e2 80 11 71 00 00 02 0d 5c 33 9a 76 6e 4c"
fi