A shell script for throttling system CPU frequency based on a desired maximum temperature