linux服务的开机启动设置
chkconfig --list 或 chkconfig --list | grep 服务名
例: 查看network开机启动情况
chkconfig --list | grep network
设置开机启动、关闭
chkconfig --level 2345 服务名 on/off (2345是开机启动级别init 0-6)
例:关闭network开机启动服务
chkconfig --level 2345 network off
linux服务的开机启动设置
chkconfig --list 或 chkconfig --list | grep 服务名
例: 查看network开机启动情况
chkconfig --list | grep network
设置开机启动、关闭
chkconfig --level 2345 服务名 on/off (2345是开机启动级别init 0-6)
例:关闭network开机启动服务
chkconfig --level 2345 network off