Update powerwall.sh

This commit is contained in:
2024-01-24 18:31:19 -06:00
parent fe8df57f61
commit 461ed85460

View File

@@ -242,7 +242,7 @@ SHUTDOWN_SERVER(){
##INCREASE CPU OVERCOMMIT ##INCREASE CPU OVERCOMMIT
MSG="Increasing DRS CPU-Overcommit to 3" MSG="Increasing DRS CPU-Overcommit to 3"
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
echo -en "${idsCL[LightCyan]}${MSG}${idsCL[White]}${MSG_SPC}: " echo -en "${idsCL[White]}${MSG}${MSG_SPC}: "
if [ "${TEST}" != "true" ]; then if [ "${TEST}" != "true" ]; then
${PW_FOLDER}/esxi-scripts/set-drs.ps1 3 >/dev/null 2>&1 & ${PW_FOLDER}/esxi-scripts/set-drs.ps1 3 >/dev/null 2>&1 &
echo -e "${idsCL[Green]}Commands sent${idsCL[Default]}\n" echo -e "${idsCL[Green]}Commands sent${idsCL[Default]}\n"