我运行Ubuntu在那里我有目录/etc/rc0.d,/etc/rc1.d,/etc/rc2.d,..., /etc/rc6.d。
我机器上的示例文件:
directory example symlinks in the dir
------------------------------------------
/etc/rc1.d: K76dovecot, K77ntp
/etc/rc2.d: S23ntp, S24dovecot
/etc/rc3.d: S23ntp, S24dovecot
/etc/rc4.d: S23ntp, S24dovecot
/etc/rc5.d: S23ntp, S24dovecot
问题:
- 多个“ rc”目录的目的是什么?
- 没有Ubuntu的安装为什么重复的
dovecot和ntp成以外的所有目录rc0.d和rc6.d? - 如果如上所述多次指定它们,它们实际上是否执行了多次?
- 您能从上面以什么顺序告诉您,
dovecot并且ntp将在启动时执行吗? - 告诉Ubuntu 在启动
ntp前始终执行的正确方法是什么dovecot?