Update powerwall.sh

This commit is contained in:
2023-10-31 09:33:56 -05:00
parent f0ec8d8a48
commit 530ca67e60

View File

@@ -601,14 +601,11 @@ CHECKPOWER(){
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 '${host}' ${idsCL[Default]}: ${idsCL[Green]}${watts}W${idsCL[Default]}"
rm -f ${hostfile}
fi
done
if [ -f ${PW_TMPFOLDER}/done.hostpower ]; then
checked=done
rm -f ${PW_TMPFOLDER}/done.hostpower
fi
[ -f ${PW_TMPFOLDER}/done.hostpower ] && checked=done
done
rm -f ${PW_TMPFOLDER}/*.hostpower
[ "${action}" != "" ] && echo
}