From: Jóhann B. Guðmundsson Date: Thu, 22 Apr 2021 13:22:42 +0000 (+0000) Subject: fix(network): user variable for sdnetworkd instead of path X-Git-Tag: 054~87 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4982e16dd53dcbbcfbd3a6b59013a0d6f893f840;p=thirdparty%2Fdracut.git fix(network): user variable for sdnetworkd instead of path Use globalvariable for systemd networkd instead of path --- diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh index 818a284a8..4c63e8284 100755 --- a/modules.d/40network/module-setup.sh +++ b/modules.d/40network/module-setup.sh @@ -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"