|
Harald Hoyer |
19aece |
From 83cbc06ab91288e2d931b4f36935bfdb79a99b0e Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
19aece |
From: Kairui Song <kasong@redhat.com>
|
|
Harald Hoyer |
19aece |
Date: Fri, 12 Oct 2018 13:07:13 +0800
|
|
Harald Hoyer |
19aece |
Subject: [PATCH] 40network: Don't include 40network by default
|
|
Harald Hoyer |
19aece |
|
|
Harald Hoyer |
19aece |
commit 7347391 ('network-legacy: split off from network module')
|
|
Harald Hoyer |
19aece |
splitted network function to network-legacy and removed check() function
|
|
Harald Hoyer |
19aece |
of 40network. This caused 40network to be included even if network is
|
|
Harald Hoyer |
19aece |
not needed.
|
|
Harald Hoyer |
19aece |
|
|
Harald Hoyer |
19aece |
Signed-off-by: Kairui Song <kasong@redhat.com>
|
|
Harald Hoyer |
19aece |
---
|
|
Harald Hoyer |
19aece |
modules.d/40network/module-setup.sh | 5 +++++
|
|
Harald Hoyer |
19aece |
1 file changed, 5 insertions(+)
|
|
Harald Hoyer |
19aece |
|
|
Harald Hoyer |
19aece |
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
|
|
Harald Hoyer |
19aece |
index 57c0a45e..e8541636 100755
|
|
Harald Hoyer |
19aece |
--- a/modules.d/40network/module-setup.sh
|
|
Harald Hoyer |
19aece |
+++ b/modules.d/40network/module-setup.sh
|
|
Harald Hoyer |
19aece |
@@ -1,5 +1,10 @@
|
|
Harald Hoyer |
19aece |
#!/bin/bash
|
|
Harald Hoyer |
19aece |
|
|
Harald Hoyer |
19aece |
+# called by dracut
|
|
Harald Hoyer |
19aece |
+check() {
|
|
Harald Hoyer |
19aece |
+ return 255
|
|
Harald Hoyer |
19aece |
+}
|
|
Harald Hoyer |
19aece |
+
|
|
Harald Hoyer |
19aece |
# called by dracut
|
|
Harald Hoyer |
19aece |
depends() {
|
|
Harald Hoyer |
19aece |
echo -n "kernel-network-modules "
|
|
Harald Hoyer |
19aece |
|