From ff6c54e35eae7f7a11929d12fed91d561cb9f42c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Wed, 31 Jan 2024 16:16:03 -0600 Subject: [PATCH] update --- esxi-scripts/vm-shutdown.ps1 | 3 +-- inc/temp.inc.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/esxi-scripts/vm-shutdown.ps1 b/esxi-scripts/vm-shutdown.ps1 index c2418404..0db90970 100755 --- a/esxi-scripts/vm-shutdown.ps1 +++ b/esxi-scripts/vm-shutdown.ps1 @@ -1,8 +1,7 @@ #!/usr/bin/env pwsh . /opt/idssys/powerwall/settings.ps1 -#Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null -Connect-VIServer $VCENTERHOST -Force -Protocol https -User $VCENTERUSER -Password $VCENTERPASS +Connect-VIServer -Server $VCENTERHOST -Protocol https -User $VCENTERUSER -Password $VCENTERPASS | Out-Null $vmhosts=$args[0].Split(",") Foreach ($vmhost in $vmhosts) diff --git a/inc/temp.inc.sh b/inc/temp.inc.sh index 48943cf7..0dc67851 100644 --- a/inc/temp.inc.sh +++ b/inc/temp.inc.sh @@ -224,7 +224,7 @@ CHECKTEMPSENSOR(){ elif [ "${PW_SENSOR_TYPE[${1}]}" == "system" ] && [[ "${1}" = *"FAN"* ]]; then GAUGESH="'R" else - GAUGESH="'F" + GAUGESH="°F" fi if [ "${6}" != "noavg" ]; then [ "${6}" != "" ] && [[ "${6}" =~ ^[0-9]+$ ]] && avgdays=${6} || avgdays=3