From 3afbfd5782f76aaffd0def6d5e859a9be2bc1014 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 8 Mar 2024 08:58:45 -0600 Subject: [PATCH] Update powerwall.sh --- powerwall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerwall.sh b/powerwall.sh index 8e0afff5..da0dfba2 100755 --- a/powerwall.sh +++ b/powerwall.sh @@ -174,7 +174,7 @@ MAINT_MODE_VERIFY_SHUTDOWN(){ MaintMode=$(ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${ESXIHOST} 'esxcli system maintenanceMode get') done ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${ESXIHOST} 'esxcli system shutdown poweroff -d 10 -r "Power-Monitor script initiated system shutdown"' - sleep 8s + sleep 8.75s ssh -q -o ConnectTimeout=3 -o ConnectionAttempts=1 root@${ESXIHOST} 'esxcli system maintenanceMode set -e false -t 0' touch ${PW_TMPFOLDER}/${PW_ESXI_HOST_NAMES[${ESXIHOST}]}.disable ${PW_TMPFOLDER}/${PW_ESXI_HOST_NAMES[${ESXIHOST}]}.down }