Update power.inc.sh
This commit is contained in:
@@ -454,12 +454,12 @@ CHECKPOWER(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${HOST_WATTS} -gt 0 ]; then
|
if [ ${HOST_WATTS} -gt 0 ]; then
|
||||||
DIVIDER . lightCyan ${PRI_WIDTH}
|
DIVIDER . darkGray ${PRI_WIDTH}
|
||||||
echo -e "${idsCL[LightCyan]} PS1 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS1}'amps ${idsCL[Default]}@${idsCL[LightCyan]} ${PS1V}'volts"
|
echo -e "${idsCL[LightCyan]} PS1 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS1}'amps ${idsCL[Default]}@${idsCL[LightCyan]} ${PS1V}'volts"
|
||||||
echo -e "${idsCL[LightCyan]} PS2 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS2}'amps ${idsCL[Default]}@${idsCL[LightCyan]} ${PS2V}'volts"
|
echo -e "${idsCL[LightCyan]} PS2 ${idsCL[Default]}: ${idsCL[LightCyan]}${PS2}'amps ${idsCL[Default]}@${idsCL[LightCyan]} ${PS2V}'volts"
|
||||||
fi
|
fi
|
||||||
# echo -e "${idsCL[Default]}"
|
# echo -e "${idsCL[Default]}"
|
||||||
[ "${SENSOR}" != "OFF-vMS-Host1" ] && DIVIDER . darkGray ${PRI_WIDTH}
|
[ "${SENSOR}" != "OFF-vMS-Host1" ] && DIVIDER . lightCyan ${PRI_WIDTH}
|
||||||
|
|
||||||
if [ "${HOST_WATT_SENSORS}" != "" ] && [ ${HOST_WATTS} -gt 0 ]; then
|
if [ "${HOST_WATT_SENSORS}" != "" ] && [ ${HOST_WATTS} -gt 0 ]; then
|
||||||
if [[ "${PW_HOST_IDRACS[${SENSOR}]}" = *"10.10."* ]]; then
|
if [[ "${PW_HOST_IDRACS[${SENSOR}]}" = *"10.10."* ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user