小编Mr.*_*Lee的帖子

/etc/init/failsafe.conf 文件是做什么用的?

究竟是/etc/init/failsafe.conf为了什么?我在我的 failsafe.conf 文件中禁用了睡眠定时器,这可以缩短启动时间。有什么缺点吗?我唯一能想到的就是这个链接中的这个描述,它抱怨等待时间不够长。

我认为 [30] 确实是一个很小的数字。您只是在防止用户在 /etc/network/interfaces 中有设备被删除或未连接的条目的情况。那是非常罕见的情况。将超时增加到 60 秒将减少误报和 rc-sysinit 提前启动的可能性。(即 dhcp 需要 35 秒的情况)。

failsafe.conf 文件本身的内部状态

# The point here is to wait for 2 minutes before forcibly booting
# the system. Anything that is in an "or" condition with 'started
# failsafe' in rc-sysinit deserves consideration for mentioning in
# these messages. currently only static-network-up counts for that.
Run Code Online (Sandbox Code Playgroud)

我不相信 rc-sysinit 依赖于网络。

/etc/init/failsafe.conf服务于什么目的?

boot networking

8
推荐指数
1
解决办法
3311
查看次数

标签 统计

boot ×1

networking ×1