Update powerwall.sh

This commit is contained in:
2023-10-31 20:32:32 -05:00
parent 6d5e09ace8
commit 60e99dcd54

View File

@@ -505,9 +505,11 @@ DAILYTEMP(){
}
GETHOSTPOWER(){
echo "HERE1: ${1}"
hostip=${PW_iDRACHOST_SHORTNAMES[${1}]}
echo "HERE2: $hostip"
hostip=${PW_HOST_ADDRESSES[${hostip}]}
echo "HERE: $hostip"
echo "HERE3: $hostip"
if [ "$(CHECK_HOST ${hostip})" != "false" ]; then
if [ "${1}" == "10.10.2.26" ]; then
temp=0