Use rcconf to edit startup/init.d/init scripts on Debian/Ubuntu based distributions
I've never understood how to enable and disable services for different run levels in Debian based distros, it's just weird, annoying and doesn't make sense. I much prefer chkconfig from RHEL.
Just install the package called 'rcconf' and be done with it. rcconf makes things easy for you.
apt-get install rcconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
rcconf
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 19.8kB of archives.
After this operation, 119kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com intrepid/universe rcconf 1.21 [19.8kB]
Fetched 19.8kB in 0s (20.6kB/s)
Selecting previously deselected package rcconf.
(Reading database ... 195757 files and directories currently installed.)
Unpacking rcconf (from .../archives/rcconf_1.21_all.deb) ...
Processing triggers for man-db ...
Setting up rcconf (1.21) ...
│ ”€â”€â”‚ [*] NetworkManager ↑ │ │ [*] acpi-support â–® │ │ [*] acpid â–’ │ │ [*] anacron â–’ │ │ [*] apmd â–’ │ │ [*] apparmor â–’ │ │ [*] apport â–’ │ │ [*] atd â–’ │ │ [*] avahi-daemon â–’ │ │ [*] binfmt-support â–’ │ │ [*] bluetooth â–’ │ │ [*] bootmisc.sh â–’ │ │ [*] brltty â–’ │ │ [*] checkfs.sh â–’ │ │ [*] checkroot.sh â–’ │ │ [*] console-screen.kbd.sh â–’ │ │ [*] console-setup â–’ │ │ [*] cron â–’ │ │ [*] cryptdisks â–’ │ │ [*] cryptdisks-early â–’ │ │ [*] cups â–’ │ │ [*] dbus â–’ │ │ [*] dkms_autoinstaller â–’ │ │ [*] dns-clean â–’ │ │ [*] exim4 â–’ │ │ [*] fancontrol â–’ │ │ [*] gdm â–’ │ │ [*] hal â–’ │ │ [*] halt â–’ │ │ [*] hddtemp â–’ │ │ [*] hostname.sh â–’ │ │ [*] hotkey-setup â–’ │ │ [*] hwclock.sh â–’ │ │ [*] hwclockfirst.sh â–’ │ │ [*] keyboard-setup â–’ │ │ [*] killprocs â–’ │ │ [*] klogd â–’ │ │ [*] laptop-mode â–’ │ │ [*] linux-restricted-modules-common â–’ │ │ [*] lm-sensors â–’ │ │ [*] loopback â–’ │ │ [*] mdadm â–’ │ │ [*] module-init-tools â–’ │ │ [*] mountall-bootclean.sh â–’ │ │ [*] mountall.sh â–’ │ │ [*] mountdevsubfs.sh â–’ │ │ [*] mountkernfs.sh â–’ │ │ [*] mountnfs-bootclean.sh â–’ │ │ [*] mountnfs.sh â–’ │ │ [*] mountoverflowtmp â–’ │ │ [*] mtab.sh â–’ │ │ [*] networking â–’ │ │ [*] pcmciautils