Kali Raspberry Pi/Startup Services
From charlesreid1
By The Way: Modifying Headless Raspberry Pi Boot Sequence
Part of my struggles in debugging the issue above led me to the rc.d and init.d on the SD card, and modifying the services that start on boot on the headless Raspberry Pi.
Here's how to add and modify startup services and configurations on the Pi:
First load up the SD card and mount it (as described at Kali_Raspberry_Pi/Installing#How_the_Kali_Linux_Startup_SD_Card_Works).
Now you can modify files in the Linux partition, to change what starts up at different runtime levels. Debian Raspberry Pis start in runtime level 2, so anything you want to start up should go in etc/rc2.d.
Actually, what you should do is, put a service script in etc/init.d/myservice, make it executable, then create a symbolic link in etc/rc2.d.
More details here: http://raspberrywebserver.com/serveradmin/run-a-script-on-start-up.html