This shows you the differences between two versions of the page.
| comp:autostart [2009/10/25 13:48] – created Bernard Condrau | comp: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 / | ||
| - | |||
| - | #! /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 / | ||
| - | |||
| - | 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 | ||