Update tempcheck.sh