Update power.inc.sh

This commit is contained in:
2026-02-20 19:34:49 -06:00
parent 4284aa9b0e
commit d2a05b3044

View File

@@ -229,7 +229,8 @@ CHECKPOWER(){
echo -en "${idsCL[LightCyan]}Totals Amps Watts" echo -en "${idsCL[LightCyan]}Totals Amps Watts"
[ "${avgdays}" != "" ] && echo -e " Amps Watts" || echo [ "${avgdays}" != "" ] && echo -e " Amps Watts" || echo
# if [ ${REPORT} -eq 0 ]; then if [ ${REPORT} -eq 0 ]; then
# echo -en "\r\033[K" # echo -en "\r\033[K"
# AD=$(IDS_NUMBER_FORMAT ${NETRK_AMP} 2 yes); c=0; spc=''; spc1=`expr ${wspc} - ${#AD}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done # AD=$(IDS_NUMBER_FORMAT ${NETRK_AMP} 2 yes); c=0; spc=''; spc1=`expr ${wspc} - ${#AD}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; ((c++)); done
# MSG="${idsCL[White]}Network Rack ~est~ ${idsCL[Default]}: ${idsCL[Green]}${AD}'A${spc}`IDS_NUMBER_FORMAT ${NETRK_WATT} 1 yes`'W" # MSG="${idsCL[White]}Network Rack ~est~ ${idsCL[Default]}: ${idsCL[Green]}${AD}'A${spc}`IDS_NUMBER_FORMAT ${NETRK_WATT} 1 yes`'W"