diff --git a/defaults.inc b/defaults.inc index fa93a016..c2ac5891 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='2.8.18-12212024' +VERS='2.8.19-12242024' noheader=' update service dailytemp confsync -r -report test ' diff --git a/inc/power.inc.sh b/inc/power.inc.sh index a92c79bc..10a6a3cc 100644 --- a/inc/power.inc.sh +++ b/inc/power.inc.sh @@ -1241,7 +1241,7 @@ HOSTPOWER(){ if [ "${idracip}" != "" ]; then if [ "${2^^}" = "ON" ] || [ "${2^^}" = "OFF" ] || [ "${2^^}" = "STATUS" ]; then - if [ "${idracip}" = "]}]}" ] && [ "${2^^}" = "ON" ]; then + if [ "${idracip}" = "${PW_HOST_IDRACS[${PW_ESXI_HOST_NAMES[${PW_ISCSI_PRI_HOST}]}]}" ] && [ "${2^^}" = "ON" ]; then MSG="Powering ON the SAS Enclosure" c=0; MSG_SPC=''; spc1=`expr ${HC_CW} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done echo -en "\n${idsCL[LightCyan]}${MSG}${MSG_SPC}: "