标签:
原文网址:http://blog.csdn.net/gavinr/article/details/6584582
- # rc-sysinit - System V initialisation compatibility
- #
- # This task runs the old System V-style system initialisation scripts,
- # and enters the default runlevel when finished.
- # Check for default runlevel in /etc/inittab
- if [ -r /etc/inittab ]
- then
- eval "$(sed -nre ‘s/^[^#][^:]*:([0-6sS]):initdefault:.*/DEFAULT_RUNLEVEL="\1";/p‘ /etc/inittab || true)"
- fi
- ......
- # Run the system initialisation scripts
- [ -n "${FROM_SINGLE_USER_MODE}" ] || /etc/init.d/rcS
文件中所有的语句竟然都被注释掉了,看来此文件的存在只是为了兼容而已,没有实现用处。不过还是看一看srS.d目录:
所有文件都是符号链接,都指向../init.d目录中的文件
标签:
原文地址:http://www.cnblogs.com/wi100sh/p/4206149.html