diff --git a/cpuwrangler.bash b/cpuwrangler.bash index 767b2e8..2194580 100644 --- a/cpuwrangler.bash +++ b/cpuwrangler.bash @@ -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