ubuntu开机慢,检查开机启动项,以及各项所占用的时间,命令:
systemd-analyze blame
是networking.service耗费很长时间
解决:
输入命令:
sudo gedit /lib/systemd/system/networking.service
修改文件中TimeoutStartSec=10s即可
开机测试效果
ubuntu开机慢,检查开机启动项,以及各项所占用的时间,命令:
systemd-analyze blame
是networking.service耗费很长时间
解决:
输入命令:
sudo gedit /lib/systemd/system/networking.service
修改文件中TimeoutStartSec=10s即可
开机测试效果