Ubuntu - Start C application on startup

Status
Not open for further replies.
Solution
You need to create a shell script to run the program (let's say it's called "foo"). Then put that script into /etc/init.d. You can then enable the program to run at boot with the command:

update-rc.d foo default

Have a look at this link for a slightly more detailed explanation.
You need to create a shell script to run the program (let's say it's called "foo"). Then put that script into /etc/init.d. You can then enable the program to run at boot with the command:

update-rc.d foo default

Have a look at this link for a slightly more detailed explanation.
 
Solution
Status
Not open for further replies.