From: Arne Fitzenreiter Date: Sun, 18 Feb 2024 10:38:29 +0000 (+0100) Subject: cpufrequtils: hide output on disabled cores. X-Git-Tag: v2.29-core184 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d501c05583a4efa513ff4b04a48ef41d5e8170e;p=ipfire-2.x.git 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 --- diff --git a/lfs/cpufrequtils b/lfs/cpufrequtils index 4bd5d0e513..8db0e67508 100644 --- a/lfs/cpufrequtils +++ b/lfs/cpufrequtils @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2021 IPFire Team # +# Copyright (C) 2007-2024 IPFire Team # # # # 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 = diff --git a/src/initscripts/packages/cpufreq b/src/initscripts/packages/cpufreq index f133f3488b..303eaf4bf4 100644 --- a/src/initscripts/packages/cpufreq +++ b/src/initscripts/packages/cpufreq @@ -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