Update temp.inc.sh
This commit is contained in:
@@ -375,7 +375,7 @@ CHECKTEMP(){
|
|||||||
echo -en "${idsCL[LightCyan]} Getting FanSpeed..."
|
echo -en "${idsCL[LightCyan]} Getting FanSpeed..."
|
||||||
fi
|
fi
|
||||||
[ ! -f ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt} ] && until [ -f ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt} ]; do tmp=tmp; done
|
[ ! -f ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt} ] && until [ -f ${PW_TMPFOLDER}/.fanspeed.${SENSOR}.${cdt} ]; do tmp=tmp; done
|
||||||
RPMs=$(snmpwalk -v 1 -c public -t 2 ${vHOSTiDRACIP} .1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1 -O vq)
|
RPMs=($(snmpwalk -v 1 -c public -t 2 ${vHOSTiDRACIP} .1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1 -O vq))
|
||||||
# RPMs=($(snmpwalk -v 1 -c public -t 2 10.10.2.27 .1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1 -O vq))
|
# RPMs=($(snmpwalk -v 1 -c public -t 2 10.10.2.27 .1.3.6.1.4.1.674.10892.5.4.700.12.1.6.1 -O vq))
|
||||||
RPM_tot=0
|
RPM_tot=0
|
||||||
for RPMn in "${RPMs[@]}"; do
|
for RPMn in "${RPMs[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user