fix(network): user variable for sdnetworkd instead of path

Use globalvariable for systemd networkd instead of path
master
Jóhann B. Guðmundsson 2021-04-22 13:22:42 +00:00 committed by Harald Hoyer
parent 2aa652349c
commit 4982e16dd5
1 changed files with 1 additions and 1 deletions

View File

@ -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"