borislav wrote: How about publishing the source for /bin/init? Then we can stop playing silly games with shell scripts...

That source should be available.

The problem is that the empeg ships with a completely custom init. It doesn't do anything with /etc/inittab (that file doesn't even exist). Instead, it mounts the necessary partitions, sets some settings on the serial console and starts the player executable. In the developer image it also handles starting /bin/bash if the player quits.

Yes, I've been playing with strace. That actually makes it possible to reconstruct the source, I'm just being lazy.

Regards,
Borislav