Update powerwall.sh

This commit is contained in:
2024-05-26 23:02:31 -05:00
parent 684ed236d5
commit efe3a95f2f

View File

@@ -484,7 +484,7 @@ SHUTDOWN_SERVER(){
c=0; MSG_SPC=''; spc1=`expr ${HC_CW} - ${#MSG}`; until [ ${c} = ${spc1} ]; do MSG_SPC="${MSG_SPC} "; ((c++)); done
echo -en "${idsCL[White]}${MSG}${MSG_SPC}: "
if [ "${TEST}" != "true" ]; then
${PW_FOLDER}/esxi-scripts/set-drs.ps1 2 >/dev/null 2>&1 &
sleep 120s && ${PW_FOLDER}/esxi-scripts/set-drs.ps1 2 >/dev/null 2>&1 &
echo -e "${idsCL[Green]}Command Sent${idsCL[Default]}\n"
else
echo -e "${idsCL[Yellow]}(TEST MODE)${idsCL[Default]}\n"