Previous | Next

Disabling init.d files

  1. Find your runlevel:
    $ runlevel
    N 2
    
  2. cd /etc/rc2.d
  3. (as root)
    # mv S91apache2 K91apache2
    
This is the "right" way.

Repeat for each runlevel you might use.

Except that some services may be in rcS rather than rc2.