1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

unit: rename initrd-network-generator.service -> systemd-network-generator.service

This commit is contained in:
Yu Watanabe 2019-07-30 00:58:00 +09:00
parent e8d456fba8
commit e2e05a0e4a
2 changed files with 5 additions and 2 deletions

View File

@ -119,7 +119,6 @@ in_units = [
['debug-shell.service', ''],
['emergency.service', ''],
['initrd-cleanup.service', ''],
['initrd-network-generator.service', 'ENABLE_NETWORKD'],
['initrd-parse-etc.service', ''],
['initrd-switch-root.service', ''],
['initrd-udevadm-cleanup-db.service', ''],
@ -175,6 +174,7 @@ in_units = [
'dbus-org.freedesktop.machine1.service'],
['systemd-modules-load.service', 'HAVE_KMOD',
'sysinit.target.wants/'],
['systemd-network-generator.service', 'ENABLE_NETWORKD'],
['systemd-networkd.service', 'ENABLE_NETWORKD'],
['systemd-networkd-wait-online.service', 'ENABLE_NETWORKD'],
['systemd-nspawn@.service', ''],

View File

@ -10,8 +10,11 @@
[Unit]
Description=Generate network units from Kernel command line
DefaultDependencies=no
Before=network-pre.target initrd-root-device.target initrd-root-fs.target initrd.target
Before=network-pre.target
[Service]
Type=oneshot
ExecStart=@rootlibexecdir@/systemd-network-generator
[Install]
WantedBy=network-pre.target