diff --git a/inc/power.inc.sh b/inc/power.inc.sh index e8eccc46..dd303598 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -419,9 +419,8 @@ CHECKPOWER(){ HOST_WATTS_disp="${idsCL[LightRed]}Host offline" fi - MSG="${idsCL[White]}${SENSOR} ${idsCL[Default]}: ${HOST_WATTS_disp}" [ ${REPORT} -eq 0 ] && echo -en "\r\033[K" - echo -e "${MSG}" + echo -e "${idsCL[White]}${SENSOR} ${idsCL[Default]}: ${HOST_WATTS_disp}" if [ "${HOST_WATT_SENSORS}" != "" ] && [ ${HOST_WATTS} -gt 0 ]; then if [[ "${PW_HOST_IDRACS[${SENSOR}]}" = *"10.10."* ]]; then @@ -450,10 +449,11 @@ CHECKPOWER(){ fi if [ ${HOST_WATTS} -gt 0 ]; then - echo -e "${idsCL[LightCyan]} PS1 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS1}'A @ ${PS1V}'V${idsCL[Default]}" - echo -e "${idsCL[LightCyan]} PS2 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS2}'A @ ${PS2V}'V${idsCL[Default]}" + DIVIDER . lightCyan ${PRI_WIDTH} + echo -e "${idsCL[LightCyan]} PS1 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS1}'A @ ${PS1V}'V" + echo -e "${idsCL[LightCyan]} PS2 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS2}'A @ ${PS2V}'V" fi - + echo -e "${idsCL[Default]}" fi fi done