But I need a commandline version of the cpu throddler program in 4.3.2.
The code is
Code: Select all
#$/bin/bash
#this is a forever loop
done1="no"
done2="no"
modprobe fan
modprobe thermal #NEED this for script to work
loop="0"
while $loop = "o" do
temp=`cat /proc/acpi/thermal_zone/THRM/temperature`
if [ $temp > "80 C" ] ; then
if [ $done1 = "no" ] ; then
#so if the cpu(s) get to 80 c then the thoddler app would
#lower the speed.
#command for cpu throddler app here
done1="yes"
done2="no"
fi
fi
if [ $temp > "75 C" ] ; then
if [ $done2 = "no" ] ; then
#so if the cpu(s) get to 75 c then the thoddler app would
#increase the speed.
#command for cpu throddler app here
done2="yes"
done1="no"
fi
fi
loop
I cant try it et because im still working on getting 4.3.2 to work