aboutsummaryrefslogtreecommitdiff
path: root/temp_throttle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'temp_throttle.sh')
-rwxr-xr-xtemp_throttle.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/temp_throttle.sh b/temp_throttle.sh
index 57686ce..d90f368 100755
--- a/temp_throttle.sh
+++ b/temp_throttle.sh
@@ -5,7 +5,7 @@
# version 2.20
cat << EOF
-Author: Sepero 2013 (sepero 111 @ gmx . com)
+Author: Sepero 2016 (sepero 111 @ gmx . com)
URL: http://github.com/Sepero/temp-throttle/
EOF
@@ -140,13 +140,13 @@ get_temp () {
### END define script functions.
-# Mainloop
+# Main loop
while true; do
- get_temp # Gets the current tempurature and set it to the variable TEMP.
+ get_temp # Gets the current temperature and set it to the variable TEMP.
if [ $TEMP -gt $MAX_TEMP ]; then # Throttle if too hot.
throttle
elif [ $TEMP -le $LOW_TEMP ]; then # Unthrottle if cool.
unthrottle
fi
- sleep 3 # The amount of time between checking tempuratures.
+ sleep 3 # The amount of time between checking temperatures.
done