mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 00:42:59 +02:00
cpufrequtils: hide output on disabled cores.
We disable cores if the are affected by some cpu vulnerabilities this cores report errors if you try to change the settings. So only print the output for core0 and hide it for all cores. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -62,7 +62,7 @@ case "${1}" in
|
||||
# Set the governor to ondemand for all cpus
|
||||
for i in `seq 0 $CPUCOUNT`;
|
||||
do
|
||||
cpufreq-set -c $i -g $GOV
|
||||
cpufreq-set -c $i -g $GOV > /dev/null
|
||||
done
|
||||
echo_ok;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user