From f3417ab86c90e1eb477741b3a9fa542c1187787c Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 19 Feb 2020 22:32:28 +0200 Subject: [PATCH] Remove redundant line --- home/Scripts/ipmi/fans.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/home/Scripts/ipmi/fans.sh b/home/Scripts/ipmi/fans.sh index 17dc4b0..c23b4a6 100755 --- a/home/Scripts/ipmi/fans.sh +++ b/home/Scripts/ipmi/fans.sh @@ -5,8 +5,6 @@ IPMIUSER=ReekyMarko IPMIPW={{@@ env['PASS_IPMI'] @@}} IPMIEK=0000000000000000000000000000000000000000 -mkdir -p /tmp/ipmi - DATA=`ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK sdr get "FAN 1 RPM" "FAN 2 RPM" "FAN 3 RPM" "FAN 4 RPM" "FAN 5 RPM" "FAN 6 RPM" | grep "Sensor Reading" | awk '{ print $4 }'` echo "$DATA"