Salve este script e torne-o executável ( chmod +x scriptname.sh ) e execute-o com bash usando sudo , pois reboot requer raiz.
#! /bin/bash
while :
do
temp=$(aticonfig --odgt --adapter=all | grep Sensor: | sed 's/[a-zA-Z:-]//g'| tr -d ' ')
action=$(echo $temp|awk '{ print ( < 76) ? "reboot" : "" }')
$action
sleep 1
done
Eu não testei com o comando da ATI, pois não tenho acesso ao comando, mas ele funciona substituindo aticonfig --odgt --adapter=all | grep Sensor: por echo 'Sensor: Temperature - 77.00 C' . Foi assim que eu testei.
O 76 é o temp de reinicialização. Você pode editar isso.