Group :: System/Configuration/Hardware
RPM: firmwarekit
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt_thermal.patch
Download
Download
diff -ruN linuxfirmwarekit-orig/thermal_trip/thermal_trip.sh linuxfirmwarekit/thermal_trip/thermal_trip.sh
--- linuxfirmwarekit-orig/thermal_trip/thermal_trip.sh 2007-02-08 22:02:47 +0300
+++ linuxfirmwarekit/thermal_trip/thermal_trip.sh 2007-02-14 20:35:26 +0300
@@ -189,7 +189,7 @@
fi
#check for difference
- if ( [ "$NEW_THROT" -gt "$CUR_THROT" ] || [ "$NEW_CPUFREQ" -lt "$CUR_CPUFREQ" ] )
+ if ( [ -n "$CUR_THROT" ] && ( [ "$NEW_THROT" -gt "$CUR_THROT" ] || [ "$NEW_CPUFREQ" -lt "$CUR_CPUFREQ" ] ))
then
#yes, throttling is effective
case "$OUTPUTTYPE" in