]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
cpufrequtils: hide output on disabled cores.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 18 Feb 2024 10:38:29 +0000 (11:38 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 18 Feb 2024 10:41:20 +0000 (11:41 +0100)
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>
lfs/cpufrequtils
src/initscripts/packages/cpufreq

index 4bd5d0e51396cf6f1a524bfa256591f3ca9b0d75..8db0e6750873d5c27d767dfb9022d468336d2642 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2021  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = cpufrequtils
-PAK_VER    = 13
+PAK_VER    = 14
 
 DEPS       =
 
index f133f3488b8e33e483bbb1e8b4415309d7edbcc8..303eaf4bf4741adaaf1d207cd6491f718d3624ee 100644 (file)
@@ -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