View Single Post
Old 27-06-2007, 13:11   #2
matthew_eli
Senior Member
 
L'Avatar di matthew_eli
 
Iscritto dal: Sep 2002
Messaggi: 1089
Forse ci sono riuscito:

Codice:
#!/bin/bash
temp=`cat /proc/acpi/thermal_zone/THRM/temperature | awk '{print$2}'`
stop="56"
if [ $temp -le $stop ]
then
	echo "on" >/proc/acpi/fan/FN2/state
	echo 3 >/proc/acpi/fan/FN2/state
fi
sembra che funzioni...
matthew_eli è offline   Rispondi citando il messaggio o parte di esso