#! /bin/bash
if [ ! -e /etc/burnin_on ]
then
	exit
fi
if [ -x /etc/burnin.conf ]
then
	. /etc/burnin.conf
	if [ "$RUN_CHECKTEMPS" == "YES" ]
	then
		if [ -x /usr/bin/sensors ] 
		then
			echo "###################" >> /root/test/temp.history
			date >> /root/test/temp.history
			echo "----------------" >> /root/test/temp.history
			/usr/bin/sensors | grep -i "C" >> /root/test/temp.history
		fi
	fi
fi
