首先切换到root用户:sudo
进入系统后修改文件:
/etc/systemd/system/network-online.target.wants/networking.service
修改命令:
sudo vim /etc/systemd/system/network-online.target.wants/networking.service
将里面的TimeoutStartSec=5min 修改为TimeoutStartSec=2sec
首先切换到root用户:sudo
进入系统后修改文件:
/etc/systemd/system/network-online.target.wants/networking.service
修改命令:
sudo vim /etc/systemd/system/network-online.target.wants/networking.service
将里面的TimeoutStartSec=5min 修改为TimeoutStartSec=2sec
转载于:https://www.cnblogs.com/fan-xiong/p/8981921.html