Compare commits
3 Commits
4e6fa06ea0
...
83e4a4379c
Author | SHA1 | Date |
---|---|---|
Xavier Del Campo Romero | 83e4a4379c | |
Xavier Del Campo Romero | cb58f4df1c | |
Xavier Del Campo Romero | 36df069e73 |
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Automatic CPU throttling
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
WorkingDirectory=/
|
||||
ExecStart=temp_throttle 65
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -151,5 +151,5 @@ while true; do
|
|||
elif [ $TEMP -le $LOW_TEMP ]; then # Unthrottle if cool.
|
||||
unthrottle
|
||||
fi
|
||||
sleep 3 # The amount of time between checking temperatures.
|
||||
sleep 0.5 # The amount of time between checking temperatures.
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue