|
Harald Hoyer |
308914 |
From faea4e4ddb10f697590b80f8f17181341c537262 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
308914 |
From: Peter Georg <peter.georg@physik.uni-regensburg.de>
|
|
Harald Hoyer |
308914 |
Date: Tue, 21 Apr 2020 21:34:38 +0200
|
|
Harald Hoyer |
308914 |
Subject: [PATCH] Always pull in machinery to read ifcfg files
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
So far machinery is only pulled in if the user has not yet included any
|
|
Harald Hoyer |
308914 |
ifcfg files.
|
|
Harald Hoyer |
308914 |
---
|
|
Harald Hoyer |
308914 |
modules.d/35network-manager/module-setup.sh | 6 ++----
|
|
Harald Hoyer |
308914 |
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
diff --git a/modules.d/35network-manager/module-setup.sh b/modules.d/35network-manager/module-setup.sh
|
|
Harald Hoyer |
308914 |
index 8fc3114d..ad2a1534 100755
|
|
Harald Hoyer |
308914 |
--- a/modules.d/35network-manager/module-setup.sh
|
|
Harald Hoyer |
308914 |
+++ b/modules.d/35network-manager/module-setup.sh
|
|
Harald Hoyer |
308914 |
@@ -47,10 +47,8 @@ install() {
|
|
Harald Hoyer |
308914 |
fi
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
# We don't install the ifcfg files from the host automatically.
|
|
Harald Hoyer |
308914 |
- # But if the user chooses to include them, we pull in the machinery to read them.
|
|
Harald Hoyer |
308914 |
- if ! [[ -d "$initdir/etc/sysconfig/network-scripts" ]]; then
|
|
Harald Hoyer |
308914 |
- inst_libdir_file "NetworkManager/$_nm_version/libnm-settings-plugin-ifcfg-rh.so"
|
|
Harald Hoyer |
308914 |
- fi
|
|
Harald Hoyer |
308914 |
+ # But the user might choose to include them, so we pull in the machinery to read them.
|
|
Harald Hoyer |
308914 |
+ inst_libdir_file "NetworkManager/$_nm_version/libnm-settings-plugin-ifcfg-rh.so"
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
_arch=${DRACUT_ARCH:-$(uname -m)}
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
|