Files
establo/backend/rftag
2024-08-13 16:46:44 -04:00

11 lines
348 B
Bash
Executable File

#!/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