|
|
|
@ -30,7 +30,7 @@ install() {
@@ -30,7 +30,7 @@ install() {
|
|
|
|
|
inst_multiple ip sed grep |
|
|
|
|
|
|
|
|
|
inst NetworkManager |
|
|
|
|
inst /usr/libexec/nm-initrd-generator |
|
|
|
|
inst_multiple -o /usr/{lib,libexec}/nm-initrd-generator |
|
|
|
|
inst_multiple -o teamd dhclient |
|
|
|
|
inst_hook cmdline 99 "$moddir/nm-config.sh" |
|
|
|
|
if dracut_module_included "systemd"; then |
|
|
|
@ -59,7 +59,7 @@ install() {
@@ -59,7 +59,7 @@ install() {
|
|
|
|
|
inst_simple "$moddir/nm-lib.sh" "/lib/nm-lib.sh" |
|
|
|
|
|
|
|
|
|
if [[ -x "$initdir/usr/sbin/dhclient" ]]; then |
|
|
|
|
inst /usr/libexec/nm-dhcp-helper |
|
|
|
|
inst_multiple -o /usr/{lib,libexec}/nm-dhcp-helper |
|
|
|
|
elif ! [[ -e "$initdir/etc/machine-id" ]]; then |
|
|
|
|
# The internal DHCP client silently fails if we |
|
|
|
|
# have no machine-id |
|
|
|
|