Possible Duplicate:
Chkconfig alternative for Ubuntu Server?
In Fedora I can do
$ chkconfig --list | grep ssh
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
sshd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
and it shows all run levels. Then I can use
chkconfig sshd on
or
chkconfig sshd off
How can I do the same in my Ubuntu 11.04? + How do i mention in which runlevel it should start?