From 4982e16dd53dcbbcfbd3a6b59013a0d6f893f840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3hann=20B=2E=20Gu=C3=B0mundsson?= Date: Thu, 22 Apr 2021 13:22:42 +0000 Subject: [PATCH] fix(network): user variable for sdnetworkd instead of path Use globalvariable for systemd networkd instead of path --- modules.d/40network/module-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh index 818a284a87..4c63e8284c 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"