Move ipmi scripts to mqtt

This commit is contained in:
Marko Korhonen 2020-02-18 15:44:17 +02:00
parent fa6fa78418
commit 1d7b00931c
4 changed files with 9 additions and 7 deletions

View file

@ -9,7 +9,7 @@ TEMP=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK sdr t
mkdir -p /tmp/ipmi
echo $TEMP > /tmp/ipmi/temp
mosquitto_pub -u reekynet -P {{@@ env['PASS_MQTT'] @@}} -t "ipmi/temp" -m "$TEMP"
if [[ $TEMP > $MAXTEMP ]];