vk4tec wrote: Do I just add the perl script in the start section of
/etc/init.d/dump1090?
1. Everything run as an init.d script runs as root until your program changes it. You don't need sudo.
2. The stuff in /etc/init.d/xxx is a bash script that gets your real program running as a service
3. Do NOT add your perl program in your /etc/init.d script, store your perl program in /usr/local/bin
4. With Raspbian Jessie and Ubuntu MATE stop using /etc/init.d, write a systemd service file and get that starting your service. It's a whole bunch easier that init.d anyway (once you've got your first service running).
https://www.digitalocean.com/community/ ... he-journal
https://www.digitalocean.com/community/ ... unit-files