norrissee DD-WRT Novice
Joined: 15 Apr 2022 Posts: 2
|
Posted: Fri Apr 15, 2022 0:25 Post subject: |
|
I was able to lower the CPU usage by adding a wait inside the inner while loop so it waits a certain period of time before getting the temperature values again.
And to further save resources I also increased wait times to 60 secs instead of 10.
Code: |
while [ "$TEMP" -gt "$LOWTEMP" ]
do
WAIT
TEMP=$(cat /proc/dmu/temperature)
done
|
Code is confirmed working on both R7000 and R6700v3 on the latest DD-WRT v3.0-r48646 std (04/12/22) build. |
|