Ubuntu开机等待时间过长

此文章用于解决Ubuntu因systemd-networkd-wait-online.service导致开机等待时间过长

修改 networkd-wait-online 超时时间

如果你仍然希望保留 systemd-networkd-wait-online.service 但希望它更快超时,可以修改 TimeoutStartSec:

sudo systemctl edit systemd-networkd-wait-online.service

添加以下内容:

[Service]
ExecStart=
ExecStart=/usr/lib/systemd/systemd-networkd-wait-online --timeout=10

然后重载 systemd:

sudo systemctl daemon-reload
sudo systemctl restart systemd-networkd-wait-online.service

这样 systemd-networkd-wait-online.service 会在 10 秒后超时,而不会无限等待。

如需转载,请注明出处。

Ubuntu开机等待时间过长
https://blog.ethan0ne.com/ubuntu%e5%bc%80%e6%9c%ba%e7%ad%89%e5%be%85%e6%97%b6%e9%97%b4%e8%bf%87%e9%95%bf/
作者:Ethan (@ethan0ne)
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇