Update temp.inc.sh
This commit is contained in:
@@ -71,8 +71,8 @@ CHECKTEMP(){
|
||||
# fi
|
||||
fi
|
||||
echo
|
||||
|
||||
elif [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ]; then
|
||||
fi
|
||||
if [ "${PW_SENSOR_TYPE[${SENSOR}]}" != "esxi" ] && [ "${temptype}" != "esxi" ]; then
|
||||
[[ "${SENSOR}" == *"CPU-Usage"* ]] && echo -en "\033[1A"
|
||||
c=0; spc=''; spc1=`expr ${cw} - ${#SENSOR}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done
|
||||
if [ ! -f ${PW_TMPFOLDER}/${SENSOR}.down ]; then
|
||||
@@ -86,7 +86,6 @@ CHECKTEMP(){
|
||||
echo
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
done
|
||||
end=`date +%s`; runtime=$((end-start)); echo -e "\nruntime: ${runtime}"
|
||||
[ "${PW_ACTION}" != "" ] && echo -e "${idsCL[Default]}"
|
||||
|
||||
Reference in New Issue
Block a user