@
BXIA 不是修改一下 unit 就好了么 …… 里面的内容也算简单直观啊 ……
找不到 unit 的:
$ systemctl status systemd-networkd
> ● systemd-networkd.service - Network Service
> Loaded: loaded (/usr/lib/systemd/system/systemd-networkd.service; disabled; vendor preset: enabled)
> Active: inactive (dead)
> Docs: man:systemd-networkd.service(8)
编辑:
$ (sudo) systemctl edit systemd-networkd (--full)
我用 Arch 是直接用 netctl 的,没有被 networkd 干扰过 ……
$ systemd-analyze blame
> 5.578s netctl@ens3.service
> ...
Arch Wiki:
https://wiki.archlinux.org/index.php/Network_configurationWarning: Use a single method to manage the network, as several methods may conflict.
https://wiki.archlinux.org/index.php/Systemd#Writing_unit_files/usr/lib/systemd/system/: units provided by installed packages
/etc/systemd/system/: units installed by the system administrator