Scott Wunsch wrote:
> chkconfig httpd on
> chkconfig --list httpd
>
> On the flip side, I've always wondered how one does this on Debian or
> Ubuntu, because I don't think they have chkconfig...
>
In Debian it's update-rc.d
update-rc.d foobar start 20 2 3 4 5 . stop 20 0 1 6 .
where foobar is /etc/init.d/foobar, 20 is the numerical index of
start/stop and 2 3 4 5 are the run-levels.
Much easier is:
update-rc.d foobar defaults
Which I normally use.
Cheers,
lance
-- Lance Levsen, Catprint Computing Tel: (306) 493-2249 Cell: (306) 230-8783 Blog: http://www.catprint.ca/blog/ SaskBlogs: http://saskblogs.catprint.ca/
This archive was generated by hypermail 2.1.8 : Fri Sep 08 2006 - 23:26:38 CST