Differences

This shows you the differences between two versions of the page.

Link to this comparison view

comp:autostart [2009/10/25 13:48] – created Bernard Condraucomp:autostart [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-===== Adding and removing autostart scripts ===== 
- 
-Put an autostart script into /etc/init.d, for example //startme//: 
- 
-  #! /bin/bash 
-  Start the application here 
- 
-Then run the following command to setup the autostart in the different runlevels: 
-  update-rc.d startme defaults 
- 
-You can check existing entries with the following command: 
-  ls -l /etc/rc?.d/*startme 
- 
-To remove the autostart: 
-  update-rc.d [-n] [-f] startme remove 
- 
--n: no action, just show what would happen. -f: force removal even if vmachine.sh still exists