Skip to content

Commit

Permalink
fixed issue 405 from linux-build repo (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
didi1357 authored Nov 10, 2023
1 parent 4ddc97c commit b8957df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion root/usr/local/sbin/rock64_fix_performance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ export PATH=/usr/sbin:/usr/bin:/sbin:/bin

Tweak_CPUFreq_Governor() {
if [ ! -d $1 ]; then
continue
# return instead of continue, as continue triggers an error mail from cron...
return
fi

echo ondemand > $1/cpufreq/scaling_governor
Expand Down

0 comments on commit b8957df

Please sign in to comment.