WRT the old joke about replacing people with small shell scripts. I guess I'll have to implement this as a cron now:
"greybeard.sh" 8 lines, 505 characters
#!/usr/bin/bash
BE=`find_kernel_patchLVL2.sh|grep "active(yes"|awk -F- '{print $2}'|cut -c 1-2`
ABE=`find_kernel_patchLVL2.sh|grep "active( no"|awk -F- '{print $2}'|cut -c 1-2`
if [ "$ABE" -gt "$BE" ]
then
mailx -r greybeard@example.com -s "`hostname` is on the wrong boot environment" \
unix@example.com<<<$'\n please reboot it to the correct BE, \ngratitude \
\n\n None of us are as smart as all of us.\n Spam me, please\n'
fi