I would think starting the daemon from rc.local would be the way to go.
As for the shell script, what do you mean it doesn't give you a prompt? Are you booting into CLI or X? What sort of prompt are you looking for? Remember, you have to log in before doing any work which could be where you're problem is coming from if I am understanding this correctly.