Update-rc.d
From MEPIS Documentation Wiki
update-rc.d - install and remove System-V style init script links
USAGE
update-rc.d [-n] [-f] name remove
update-rc.d [-n] name defaults [NN | NN-start NN-stop]
update-rc.d [-n] name start|stop NN runlevel runlevel ... .
start|stop NN runlevel runlevel ... . ...
OPTIONS
-n Don't do anything, just show what we would do.
-f Force removal of symlinks even if /etc/init.d/name still
exists.
EXAMPLES
Insert links using the defaults:
update-rc.d foobar defaults
Equivalent command using explicit argument sets:
update-rc.d foobar start 20 2 3 4 5 . stop 20 0 1 6 .
| Rulevel | Runlevel Description |
|---|---|
| 0 | Halt (power down) |
| 1 | Single-user mode: provides a root console without logon. Useful if you lose your root password |
| 2 | Multiuser with no network |
| 3 | Console logon, no X (i.e. no GUI) |
| 4 | Not used/custom |
| 5 | Default GUI logon |
| 6 | Reboot |

