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' cHOST='-help'
fi fi
echo "HERE: ${cHOST}" echo "HERE: ${cHOST}"
while [ $# -gt 0 ]; do while [ "${cHOST}" != "" ]; do
case "${cHOST}" in case "${cHOST}" in
-p|-power) POWER=${2}; MODE="power";; -p|-power) POWER=${2}; MODE="power";;
-e|-esxi) ESXI=${2}; MODE="esxi";; -e|-esxi) ESXI=${2}; MODE="esxi";;