]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(network-manager): no default deps for nm-run.service
authorHarald Hoyer <harald@redhat.com>
Wed, 31 Mar 2021 14:11:41 +0000 (16:11 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 31 Mar 2021 19:29:33 +0000 (21:29 +0200)
Otherwise nm-run.service will run only in basic.target, which is too
late in the initramfs.

modules.d/35network-manager/nm-run.service

index 63fe7564d01b663b5a04f4ac5633ecbbd7f93b46..f3493c41a3881f57528045cfa68415f7a5836a18 100644 (file)
@@ -2,6 +2,8 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 
 [Unit]
+DefaultDependencies=no
+
 #make sure all devices showed up
 Wants=systemd-udev-settle.service
 After=systemd-udev-settle.service