78  chkconfig   设置服务开机自启动的命令    

 --list 查看自启动服务   

--level   后面接级别
chkconfig  sshd  off  /on开启关闭sshd    
chkconfig   --level   1 sshd  off  /on关闭或者开启sshd在级别1的服务
chkconfig --list  sshd  查看指定服务是否开机自启动

[root@oldboy data]# chkconfig --list sshd
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off