4 echo "Usage> /usr/bin/setcpu <performance | ondemand>"
8 if [ "$1" = "perf" ]; then
9 echo "Setting CPU @ Performance Mode"
10 echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
12 if [ "$1" = "performance" ]; then
13 echo "Setting CPU @ Performance Mode"
14 echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
16 if [ "$1" = "ondemand" ]; then
17 echo "Setting CPU @ Ondemand Mode"
18 echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
20 echo "Usage> /usr/bin/setcpu <performance | ondemand>"