mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-03 01:17:45 +03:00
units: enable systemd-network-generator by default
It is used by udevd and networkd. Since udevd is enabled statically, let's also change the preset to "on". networkd is opt-in, so let's pull in the generator when enabling networkd too.
This commit is contained in:
parent
79463de533
commit
e053f49272
@ -18,6 +18,7 @@ enable machines.target
|
||||
enable getty@.service
|
||||
enable systemd-timesyncd.service
|
||||
enable systemd-networkd.service
|
||||
enable systemd-network-generator.service
|
||||
enable systemd-resolved.service
|
||||
enable systemd-homed.service
|
||||
enable systemd-userdbd.socket
|
||||
@ -37,7 +38,6 @@ disable exit.target
|
||||
disable systemd-networkd-wait-online.service
|
||||
disable systemd-time-wait-sync.service
|
||||
disable systemd-boot-check-no-failures.service
|
||||
disable systemd-network-generator.service
|
||||
disable proc-sys-fs-binfmt_misc.mount
|
||||
|
||||
disable syslog.socket
|
||||
|
@ -56,6 +56,10 @@ WantedBy=multi-user.target
|
||||
Also=systemd-networkd.socket
|
||||
Alias=dbus-org.freedesktop.network1.service
|
||||
|
||||
# The output from this generator is used by udevd and networkd. Enable it by
|
||||
# default when enabling systemd-networkd.service.
|
||||
Also=systemd-network-generator.service
|
||||
|
||||
# We want to enable systemd-networkd-wait-online.service whenever this service
|
||||
# is enabled. systemd-networkd-wait-online.service has
|
||||
# WantedBy=network-online.target, so enabling it only has an effect if
|
||||
|
Loading…
Reference in New Issue
Block a user