From MEPIS Documentation Wiki

Jump to: navigation, search

update-rc.d - install and remove System-V style init script links


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 ...  . ...


      -n     Don't do anything, just show what we would do.
      -f     Force  removal  of  symlinks  even if /etc/init.d/name still


      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 .
RulevelRunlevel Description
0Halt (power down)
1Single-user mode: provides a root console without logon. Useful if you lose your root password
2Multiuser with no network
3Console logon, no X (i.e. no GUI)
4Not used/custom
5Default GUI logon
Personal tools