Update powerwall.sh

This commit is contained in:
2023-05-15 09:28:58 -05:00
parent c3cfcecd2f
commit 428180bc00

View File

@@ -424,8 +424,11 @@ fi
checktemp_service) checktemp_service)
if [ "${2}" = "stop" ]; then if [ "${2}" = "stop" ]; then
STOP_SERVICE STOP_SERVICE Temp
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${FOLDER}/log-temp for SENSOR in ${!SENSOR_ID[@]}; do
logtemp=${LOGFOLDER}/log-temp-${SENSOR}
echo "(`date +'%Y-%m-%d %H:%M:%S'`) Service Stopped" >> ${logtemp}
fi
else else
CHECKTEMP_SERVICE CHECKTEMP_SERVICE
fi fi