Dennis J. (dennisml@conversis.de) said:
That's doesn't seem to be right. I've got httpd set to 'on' for runlevels 2,3,4 and 5. Doing a "chkconfig httpd off" sets *all* runlevels to 'off' and then doing a "chkconfig httpd on" sets runlevels 2,3,4 and 5 back to on. It behaves like that both on my Desktop running in runlevel 5 (F10) and on a server running level 3 (Centos5).
I always believed the 'chkconfig X on' without specifying the runlevels would turn on the default runlevel specified in the init script because that's the way it seems to behave.
'on' and 'off' affect 2/3/4/5 if you don't specify a level otherwise. See the man page.
Bill