Update powerwall.sh

This commit is contained in:
2024-01-03 11:31:45 -06:00
parent 625b18c756
commit aed558d8c5

View File

@@ -752,7 +752,6 @@ fi
checkpower) CHECKPOWER ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};;
check)
([ "${2}" == "" ] || ([ "${2}" != "power" ] && [ "${2}" != "temp" ])) && checkrun="-help" || checkrun=${2}
if [ "${3}" == "" ]; then
case ${checkrun} in
power) CHECKPOWER ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};;
temp) CHECKTEMP ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10};;