parent
4ce779db0d
commit
808c898192
|
@ -56,7 +56,7 @@ my $g_last_set_cpu_temp = 0;
|
|||
my $g_last_set_sys_power = 0;
|
||||
|
||||
sub UpdateFanSpeed {
|
||||
my $current_cpu_temp = `sensors k10temp-pci-00c3 | grep 'Tctl:' | cut -c 16-17 | tr -d '\n'`;
|
||||
my $current_cpu_temp = `sensors \$(sensors |grep k10temp) | grep 'Tctl:' | cut -c 16-17 | tr -d '\n'`;
|
||||
my $current_sys_power = `sensors \$(sensors |grep corsairpsu) | grep 'power total:' | cut -c 14-16 | tr -d '\n'`;
|
||||
my $cpu_temp_difference = 0;
|
||||
my $sys_power_difference = 0;
|
||||
|
|
Loading…
Reference in New Issue