Update powerwall.sh

This commit is contained in:
2023-11-07 07:49:19 -06:00
parent ca92a2c5a6
commit 175693b1a4

View File

@@ -1595,13 +1595,13 @@ fi
end=`date +%s`; runtime=$((end-start))
echo -e "\nruntime: ${runtime}\n"
;;
checktemp) CHECKTEMP ${2};;
checkpower) CHECKPOWER ${2};;
checktemp) CHECKTEMP ${2} ${3} ${4} ${5} ${6};;
checkpower) CHECKPOWER ${2} ${3} ${4} ${5} ${6};;
check)
if [ "${2}" = "power" ]; then
CHECKPOWER ${3}
CHECKPOWER ${3} ${4} ${5} ${6}
elif [ "${2}" = "temp" ]; then
CHECKTEMP ${3}
CHECKTEMP ${3} ${4} ${5} ${6}
fi
;;
test) CHECKTEMP ${2} ${3};;