Update 'cpuwrangler.bash'

Fixed a few dumb errors with bash variables
This commit is contained in:
kake26 2021-05-22 03:33:59 +02:00
parent 9fcb60b769
commit 278f8db427

View file

@ -2,9 +2,9 @@
# Some variables # Some variables
$sysdu = "" # location to pull the systemd unit from github sysdu="" # location to pull the systemd unit from github
$cur_gov = $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor) cur_gov=$(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
$cpugov = "conservative" # set what you want here cpugov="conservative" # set what you want here
# First, are running as root? # First, are running as root?
@ -15,5 +15,5 @@ fi
# Default action is to reapply settings # 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