Skip to content

Commit

Permalink
fix(network): user variable for sdnetworkd instead of path
Browse files Browse the repository at this point in the history
Use globalvariable for systemd networkd instead of path
  • Loading branch information
johannbg authored and haraldh committed Apr 22, 2021
1 parent 2aa6523 commit 4982e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/40network/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ depends() {
network_handler="network-wicked"
elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]]; then
network_handler="network-manager"
elif [[ -x $dracutsysrootdir/usr/lib/systemd/systemd-networkd ]]; then
elif [[ -x $dracutsysrootdir$systemdutildir/systemd-networkd ]]; then
network_handler="systemd-networkd"
else
network_handler="network-legacy"
Expand Down

0 comments on commit 4982e16

Please sign in to comment.