title: Linux: Makefile code that adds a daemon to startup scripts
body: <p>I'm currently designing a program that I want to run when my computer boots up. I've written a daemon that runs the code, so what I want is a way to run the daemon on startup. Here's my problem: I don't want to my end user to have to manually add the daemon into their list of startup scripts, I want the daemon to be added automatically when the program is installed. At the moment I have a makefile that is installing the software to my pc, so is there a way to get the makefile to insert the daemon into the user's list startup scripts, so the daemon is run on startup?</p>
  
  <p>Cheers</p>