diff --git a/temp.bash b/temp.bash new file mode 100755 index 0000000..1605b80 --- /dev/null +++ b/temp.bash @@ -0,0 +1,9 @@ +#!/bin/bash +while [ 1 ] +do + cpu=$( $cpu" + mosquitto_pub -h 127.0.0.1 -p 1883 -t pis/$HOSTNAME/cputemperature -m $cpu + sleep 60 +done