Corrected spelling of Celsius and used name of actual script in case someone changed it from temp_throttle.sh

This commit is contained in:
C Erler 2013-02-09 07:56:44 -05:00
parent f0ceb7a75e
commit f3181f0553
1 changed files with 4 additions and 4 deletions

View File

@ -1,12 +1,12 @@
#!/bin/bash
# temp_throttle.sh max_temp
# USE CELCIUS TEMPERATURES.
# USE CELSIUS TEMPERATURES.
if [ $# -ne 1 ]; then
# If tempurature wasn't given, then print a message and exit.
echo "Please supply a maximum desired temperature in Celcius." 1>&2
echo "For example: temp_throttle.sh 60" 1>&2
# If temperature wasn't given, then print a message and exit.
echo "Please supply a maximum desired temperature in Celsius." 1>&2
echo "For example: ${0} 60" 1>&2
exit 2
else
#Set the first argument as the maximum desired temperature.