Update powerwall.sh

This commit is contained in:
2024-01-13 23:00:15 -06:00
parent 51299b1ba4
commit 7f23a377bf

View File

@@ -519,7 +519,7 @@ HOSTMGMT(){
cHOST='-help'
fi
echo "HERE: ${cHOST}"
while [ $# -gt 0 ]; do
while [ "${cHOST}" != "" ]; do
case "${cHOST}" in
-p|-power) POWER=${2}; MODE="power";;
-e|-esxi) ESXI=${2}; MODE="esxi";;