diff options
author | Lisa Nguyen <lisa.nguyen@linaro.org> | 2016-06-10 17:49:21 -0700 |
---|---|---|
committer | Lisa Nguyen <lisa.nguyen@linaro.org> | 2016-09-12 16:42:01 -0700 |
commit | 2af35faf462a7598684b810295c2cf3b9fc04272 (patch) | |
tree | c9b286b667f8f9bfd734a86da3a5a0fbc8ad7ae7 | |
parent | cca3b386ff6cdd4704ff0e7374f0dff22eeb6018 (diff) |
Increment the value of index when storing scaling governors for each cpu
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
-rw-r--r-- | include/functions.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.sh b/include/functions.sh index 715005c..432cf0a 100644 --- a/include/functions.sh +++ b/include/functions.sh @@ -380,6 +380,7 @@ save_governors() { scaling_gov_value=$(cat $CPU_PATH/$cpu/cpufreq/scaling_governor) eval $gov_array$index=$scaling_gov_value eval export $gov_array$index + index=$((index + 1)) done } |