Update powerwall.sh

This commit is contained in:
2023-10-31 09:29:20 -05:00
parent abefc514be
commit 3d22ecfa95

View File

@@ -597,7 +597,8 @@ CHECKPOWER(){
if [ -f ${hostfile} ]; then
host=${hostfile%.*}; host=${host##*/}
watts=$(cat ${hostfile})
echo -e "${idsCL[LightCyan]}HOST '${PW_iDRACHOST_SHORTNAMES[${host}]}' ${idsCL[Default]}: ${idsCL[Green]}${watts}W${idsCL[Default]}"
# echo -e "${idsCL[LightCyan]}HOST '${PW_iDRACHOST_SHORTNAMES[${host}]}' ${idsCL[Default]}: ${idsCL[Green]}${watts}W${idsCL[Default]}"
echo -e "${idsCL[LightCyan]}HOST '${host}' ${idsCL[Default]}: ${idsCL[Green]}${watts}W${idsCL[Default]}"
rm -f ${hostfile}
fi
done