Raspbmc - start Samba on boot
All you need is a file in your /etc/init/ folder with a .conf extension. Might as well call it samba.conf. To create the file just call "touch /etc/init/samba.conf".
Then, edit the file to say this:
start on stopped delay-start-30