Update shutdown-test.sh

This commit is contained in:
2023-12-12 23:11:37 -06:00
parent d7b0e3024c
commit c0fccc83b2

View File

@@ -194,7 +194,6 @@ SHUTDOWN_SERVER2(){
fi fi
done done
echo echo
fi
MSG="Shutting down iSCSI-Server(s)" MSG="Shutting down iSCSI-Server(s)"
c=0; MSG_SPC=''; spc1=`expr ${HC_CW} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done c=0; MSG_SPC=''; spc1=`expr ${HC_CW} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done
@@ -213,6 +212,7 @@ SHUTDOWN_SERVER2(){
echo -e "${idsCL[Yellow]}(TEST MODE)${idsCL[Default]}" echo -e "${idsCL[Yellow]}(TEST MODE)${idsCL[Default]}"
fi fi
echo echo
fi
if [ "${2}" != "maintenance" ]; then if [ "${2}" != "maintenance" ]; then
for ESXIHOST in "${ESXI_HOSTS[@]}"; do for ESXIHOST in "${ESXI_HOSTS[@]}"; do