NEW
This commit is contained in:
10
backend/tag
Executable file
10
backend/tag
Executable 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 $1
|
||||
else
|
||||
docker-compose exec mqtt /usr/bin/mosquitto_pub -h localhost -t tag -m $1
|
||||
fi
|
||||
Reference in New Issue
Block a user