http://www.jb51.net/LINUXjishu/66410.html
6个级别
chkconfig
0 lrwxrwxrwx. 1 root root 7 Nov 8 2016 rc -> rc.d/rc
0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 rc0.d -> rc.d/rc0.d
0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 rc1.d -> rc.d/rc1.d
0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 rc2.d -> rc.d/rc2.d
0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 rc3.d -> rc.d/rc3.d
0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 rc4.d -> rc.d/rc4.d
0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 rc5.d -> rc.d/rc5.d
0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 rc6.d -> rc.d/rc6.d
4 drwxr-xr-x. 10 root root 4096 Sep 13 17:08 rc.d
0 lrwxrwxrwx. 1 root root 13 Nov 8 2016 rc.local -> rc.d/rc.local
0 lrwxrwxrwx. 1 root root 15 Nov 8 2016 rc.sysinit -> rc.d/rc.sysinit
相关知识点
/etc/rc.local /etc/rc.sysinit /etc/inittab /etc/profile
随任何用户开机启动,而非单个用户开机启动:
多种解决方案:
0-设为级别3
1-写入/etc/rc.local
http://www.cnblogs.com/gbyukg/archive/2011/10/10/2205424.html