Update 'cpuwrangler.bash'
Fixed a few dumb errors with bash variables
This commit is contained in:
parent
9fcb60b769
commit
278f8db427
1 changed files with 4 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
|||
|
||||
# Some variables
|
||||
|
||||
$sysdu = "" # location to pull the systemd unit from github
|
||||
$cur_gov = $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
|
||||
$cpugov = "conservative" # set what you want here
|
||||
sysdu="" # location to pull the systemd unit from github
|
||||
cur_gov=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
|
||||
cpugov="conservative" # set what you want here
|
||||
|
||||
# First, are running as root?
|
||||
|
||||
|
@ -15,5 +15,5 @@ fi
|
|||
|
||||
# Default action is to reapply settings
|
||||
|
||||
echo "$cpugov" | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
||||
echo $cpugov | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue