Update power.inc.sh
This commit is contained in:
@@ -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}: "
|
||||
|
||||
Reference in New Issue
Block a user