Skip to content

Commit 4982e16

Browse files
johannbgharaldh
authored andcommitted
fix(network): user variable for sdnetworkd instead of path
Use globalvariable for systemd networkd instead of path
1 parent 2aa6523 commit 4982e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules.d/40network/module-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends() {
2121
network_handler="network-wicked"
2222
elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]]; then
2323
network_handler="network-manager"
24-
elif [[ -x $dracutsysrootdir/usr/lib/systemd/systemd-networkd ]]; then
24+
elif [[ -x $dracutsysrootdir$systemdutildir/systemd-networkd ]]; then
2525
network_handler="systemd-networkd"
2626
else
2727
network_handler="network-legacy"

0 commit comments

Comments
 (0)