units: add initrd-network-generator.service
This commit is contained in:
parent
0a9219986e
commit
b9109ff710
17
units/initrd-network-generator.service.in
Normal file
17
units/initrd-network-generator.service.in
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
#
|
||||||
|
# This file is part of systemd.
|
||||||
|
#
|
||||||
|
# systemd is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
|
||||||
|
[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
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=@rootlibexecdir@/systemd-network-generator
|
|
@ -119,6 +119,7 @@ in_units = [
|
||||||
['debug-shell.service', ''],
|
['debug-shell.service', ''],
|
||||||
['emergency.service', ''],
|
['emergency.service', ''],
|
||||||
['initrd-cleanup.service', ''],
|
['initrd-cleanup.service', ''],
|
||||||
|
['initrd-network-generator.service', 'ENABLE_NETWORKD'],
|
||||||
['initrd-parse-etc.service', ''],
|
['initrd-parse-etc.service', ''],
|
||||||
['initrd-switch-root.service', ''],
|
['initrd-switch-root.service', ''],
|
||||||
['initrd-udevadm-cleanup-db.service', ''],
|
['initrd-udevadm-cleanup-db.service', ''],
|
||||||
|
|
Loading…
Reference in a new issue