Update powerwall.sh

This commit is contained in:
2022-09-10 15:24:33 -05:00
parent 3bbca8aa62
commit 8c289e4083

View File

@@ -159,7 +159,7 @@ SHUTDOWN_SERVERS(){
echo "Ok"
done
if [ "${1}" = "main" ]; then
if [ "${1}" = "MAIN" ]; then
/usr/bin/ssh root@10.10.2.10 "/vmfs/volumes/iSCSI2-Datastore2\ \(R5\)\(1-4\)/\!SCRIPTS/esxidown/async-${ESXIHOST}.sh"
echo -en "Waiting for iSCSI-Server to shutdown... "
# while ping -qw 10 -c3 "${ESXIHOST}">/dev/null 2>&1; do