1.Redhat 系统按如下系统启动:
加载内核
执行init程序
/etc/rc.d/rc.sysinit #由init执行的第一个脚本
/etc/rc.d/rc${RUNLEVEL}d/* #$RUNLEVEL为缺省的运行模式
/etc/rc.d/rc.local #相应级别服务启动之后、在执行该文件(其实也可以把需要执行的命令写到该文件中)
/sbin/mingetty #等待用户登录

/etc/rc.d/* /etc/rc*
/etc/rc.d/ 下的rc${RUNLEVEL}d 软链接/etc/rc.d/init.d/ 中的脚本
/etc/ 下的rc${RUNLEVEL}d 软链接/etc/init.d/ 中的脚本

 

相关文章:

  • 2021-09-26
  • 2021-10-11
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
猜你喜欢
  • 2021-10-16
  • 2021-08-31
  • 2022-12-23
  • 2021-07-18
  • 2021-12-05
  • 2021-10-16
  • 2022-01-09
相关资源
相似解决方案