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!)


OK, I tried this:

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


But no luck. The player reports that it has been started but then it just seem to hang there. With my own program, it was infinitely giving permission faults or something. Also, those mount commands took quite a while to execute so it probably was mounting them rw even though ro would have been enough.

See the attached log for more details.