Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 257 Bytes
#!/bin/bash
if [ "$1" == "" ]; then
echo "Supply governor [powersave|performance] as first argument!"
exit
fi
for i in `ls /sys/devices/system/cpu/ | grep cpu | grep -v idle`; do echo $1 > /sys/devices/system/cpu/$i/cpufreq/scaling_governor ;done