Remove redundant line
This commit is contained in:
parent
df67d447ab
commit
a9293739c6
1 changed files with 0 additions and 2 deletions
|
@ -7,8 +7,6 @@ IPMIEK=0000000000000000000000000000000000000000
|
||||||
MAXTEMP=27
|
MAXTEMP=27
|
||||||
TEMP=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK sdr type temperature |grep Ambient |grep degrees |grep -Po '\d{2}' | tail -1)
|
TEMP=$(ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK sdr type temperature |grep Ambient |grep degrees |grep -Po '\d{2}' | tail -1)
|
||||||
|
|
||||||
mkdir -p /tmp/ipmi
|
|
||||||
|
|
||||||
mosquitto_pub -u reekynet -P {{@@ env['PASS_MQTT'] @@}} -t "ipmi/temp" -m "$TEMP"
|
mosquitto_pub -u reekynet -P {{@@ env['PASS_MQTT'] @@}} -t "ipmi/temp" -m "$TEMP"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue