diff --git a/HISTORY b/HISTORY new file mode 100644 index 0000000..7fef010 --- /dev/null +++ b/HISTORY @@ -0,0 +1,19 @@ +Version 0.2: + Line 103, fixed the missing "-n" option (Thanks to Chad who pointed this out + this out for me). Also added a "shopt -s extglob". (Thx to Chad) + +Version 0.5: + Line 168, fixed a typo (EXIT_UNKNOWN to STATE_UNKNOWN) + +Version 0.7: + Line 193, modified sensor parsing to cut after the first '+' since all + positive temperatures are preceded by a '+' + Line 211, reduced "verbosity" needed to see verbose info (was 2: -v -v) + Line 229-232, now checks to see if no sensor data was found and + exits with STATE_UNKNOWN + +Version 0.8: + Line 196 and 230, added 'head -n1' to only fetch the first result from + sensors output. On some machine you get two Core0 and two Core1 temps. + Moved version history to it's own file, HISTORY + diff --git a/check_temp.sh b/check_temp.sh index 20a1181..666fb40 100755 --- a/check_temp.sh +++ b/check_temp.sh @@ -27,18 +27,9 @@ # Latest version of check_temp can be found at the below URL: # # https://bitbucket.org/jackbenny/check_temp # # # -# Version 0.2: Line 103, fixed the missing "-n" option (Thanks to Chad who # -# pointed this out for me). Also added a "shopt -s extglob". (Thx to Chad) # -# Version 0.5: Line 168, fixed a typo (EXIT_UNKNOWN to STATE_UNKNOWN) # -# Version 0.7: # -# Line 193, modified sensor parsing to cut after the first '+' since all # -# positive temperatures are preceded by a '+' # -# Line 211, reduced "verbosity" needed to see verbose info (was 2: -v -v) # -# Line 229-232, now checks to see if no sensor data was found and # -# exits with STATE_UNKNOWN # ############################################################################### -VERSION="Version 0.7" +VERSION="Version 0.8" AUTHOR="(c) 2011 Jack-Benny Persson (jack-benny@cyberinfo.se)" # Sensor program