From memory, what it does (very very basically) is:

#!/bin/sh
mount -n /proc
mount -n /dev/hda4 /drive0
mount -n /dev/hdc4 /drive1
exec /empeg/bin/player

...it does more, but this is more to do with recovery & starting shells afterwards (& so on). Take the above and add your menu code afterwards and most things should be ok (I think!)

Hugo