This question has been asked quite a few times before but I didn't seem to get it working using the existing information.
My Pi runs Raspbian. I have a Python script named dnscheck.py which loops forever.
I need it to run at boot. I know I have to create a .sh file containing something like
sudo python dnscheck.py &
What I don't know is where this file should be or if it should contain anything else. I know about the init.d folder, but seeing the skeleton example I imagine there should be a simpler way to do this simple task.