Browse Source

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

Use globalvariable for systemd networkd instead of path
master
Jóhann B. Guðmundsson 4 years ago committed by Harald Hoyer
parent
commit
4982e16dd5
  1. 2
      modules.d/40network/module-setup.sh

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

@ -21,7 +21,7 @@ depends() {
network_handler="network-wicked" network_handler="network-wicked"
elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]]; then elif [[ -x $dracutsysrootdir/usr/libexec/nm-initrd-generator ]]; then
network_handler="network-manager" network_handler="network-manager"
elif [[ -x $dracutsysrootdir/usr/lib/systemd/systemd-networkd ]]; then elif [[ -x $dracutsysrootdir$systemdutildir/systemd-networkd ]]; then
network_handler="systemd-networkd" network_handler="systemd-networkd"
else else
network_handler="network-legacy" network_handler="network-legacy"

Loading…
Cancel
Save