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