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:40:13 -0700 |
commit | 6c4c27c206f54f14a3c9dd7544b3d900a0660bc8 (patch) | |
tree | c9b286b667f8f9bfd734a86da3a5a0fbc8ad7ae7 | |
parent | 94368a8cca93df8bdda78b7ccfd3fb1b0d6e6e6a (diff) | |
download | pm-qa-6c4c27c206f54f14a3c9dd7544b3d900a0660bc8.tar.gz |
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 } |