9 lines
151 B
Bash
9 lines
151 B
Bash
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
GOVERNOR='powersave'
|
||
|
|
if [ "$1" ]; then
|
||
|
|
GOVERNOR="$1"
|
||
|
|
fi
|
||
|
|
|
||
|
|
echo "$GOVERNOR" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|