"One slight problem that you'll notice is that the load average
values are floating point values. This is where the floating point
functions for bash that I wrote about come into play.
"To wait for the load then we only need to extract the relevant
value from /proc/loadavg then use float_cond described in the post
I mentioned earlier to check if the load is above a certain point
and pause if it is. We'll package this all up into its own file
wait-for-load.sh so that it can be called from other scripts."