Skip to content

Commit

Permalink
prefer cpufreq-set over cpufreq-selector when both are installed
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Jan 22, 2024
1 parent d4b3f0b commit 3fb8848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tascar_cpufreq
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
NUM_CPU=`cat /proc/cpuinfo | grep -e '^processor[^:]*:'|wc -l`
TOOLNAME=cpufreq-selector
test -z `which $TOOLNAME` && TOOLNAME=cpufreq-set
TOOLNAME=cpufreq-set
test -z `which $TOOLNAME` && TOOLNAME=cpufreq-selector
c=0
if test -z "$1"; then
g="performance"
Expand Down

0 comments on commit 3fb8848

Please sign in to comment.