Customized boot log messages

Hi all

Many years ago, I found online this script that was incredibly funny and I had blogged it

Unfortunately because of my poor record-keeping, I seem to have lost the shell script

Would somebody be kind enough to tell me how to replicate this?

Thank you!