From f3eae86f8b7d24833cba7149db9761789129eeef Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 16 Nov 2024 16:55:39 -0600 Subject: [PATCH] Update power.inc.sh --- inc/power.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/power.inc.sh b/inc/power.inc.sh index df619378..a754a3e6 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}" = "${PW_HOST_IDRACS[${PW_ESXI_HOST_NAMES[${PW_ISCSI-PRI_HOST}]}" ] && [ "${2^^}" = "ON" ]; then + if [ "${idracip}" = "]}]}" ] && [ "${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}: "