Browse Source

Always pull in machinery to read ifcfg files

So far machinery is only pulled in if the user has not yet included any
ifcfg files.
master
Peter Georg 5 years ago committed by Harald Hoyer
parent
commit
faea4e4ddb
  1. 4
      modules.d/35network-manager/module-setup.sh

4
modules.d/35network-manager/module-setup.sh

@ -47,10 +47,8 @@ install() {
fi fi


# We don't install the ifcfg files from the host automatically. # We don't install the ifcfg files from the host automatically.
# But if the user chooses to include them, we pull in the machinery to read them. # But the user might choose to include them, so we pull in the machinery to read them.
if ! [[ -d "$initdir/etc/sysconfig/network-scripts" ]]; then
inst_libdir_file "NetworkManager/$_nm_version/libnm-settings-plugin-ifcfg-rh.so" inst_libdir_file "NetworkManager/$_nm_version/libnm-settings-plugin-ifcfg-rh.so"
fi


_arch=${DRACUT_ARCH:-$(uname -m)} _arch=${DRACUT_ARCH:-$(uname -m)}



Loading…
Cancel
Save