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