Update powerwall.sh
This commit is contained in:
@@ -1595,13 +1595,13 @@ fi
|
|||||||
end=`date +%s`; runtime=$((end-start))
|
end=`date +%s`; runtime=$((end-start))
|
||||||
echo -e "\nruntime: ${runtime}\n"
|
echo -e "\nruntime: ${runtime}\n"
|
||||||
;;
|
;;
|
||||||
checktemp) CHECKTEMP ${2};;
|
checktemp) CHECKTEMP ${2} ${3} ${4} ${5} ${6};;
|
||||||
checkpower) CHECKPOWER ${2};;
|
checkpower) CHECKPOWER ${2} ${3} ${4} ${5} ${6};;
|
||||||
check)
|
check)
|
||||||
if [ "${2}" = "power" ]; then
|
if [ "${2}" = "power" ]; then
|
||||||
CHECKPOWER ${3}
|
CHECKPOWER ${3} ${4} ${5} ${6}
|
||||||
elif [ "${2}" = "temp" ]; then
|
elif [ "${2}" = "temp" ]; then
|
||||||
CHECKTEMP ${3}
|
CHECKTEMP ${3} ${4} ${5} ${6}
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
test) CHECKTEMP ${2} ${3};;
|
test) CHECKTEMP ${2} ${3};;
|
||||||
|
|||||||
Reference in New Issue
Block a user