From 347a24aa21c44c2bdcdc1e4d43d0b1520d65278b Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Tue, 13 Jul 2010 14:38:14 +0200 Subject: [PATCH] throughput-performance: updated save paths All save files will be in /var/run/tuned directory. This is being done to comply with SELinux policy. --- tune-profiles/throughput-performance/ktune.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tune-profiles/throughput-performance/ktune.sh b/tune-profiles/throughput-performance/ktune.sh index 6d4fbec..7834dd8 100755 --- a/tune-profiles/throughput-performance/ktune.sh +++ b/tune-profiles/throughput-performance/ktune.sh @@ -2,14 +2,14 @@ VAR_SUBSYS_KTUNE="/var/lock/subsys/ktune" -CPUSPEED_SAVE_FILE="/var/run/ktune-cpuspeed.save" -CPUSPEED_ORIG_GOV="var/run/ktune-cpuspeed-governor.save" +CPUSPEED_SAVE_FILE="/var/run/tuned/ktune-cpuspeed.save" +CPUSPEED_ORIG_GOV="/var/run/tuned/ktune-cpuspeed-governor.save" CPUSPEED_CFG="/etc/sysconfig/cpuspeed" CPUSPEED_INIT="/etc/init.d/cpuspeed" CPUS="/sys/devices/system/cpu*/cpufreq" THP_ENABLE="/sys/kernel/mm/redhat_transparent_hugepage/enabled" -THP_SAVE="/var/run/ktune-thp.save" +THP_SAVE="/var/run/tuned/ktune-thp.save" start() { # Save currently enabled governor and/or cpuspeed config